caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Prashanth Mundkur <mundkur@ece.uci.edu>
To: caml-list@inria.fr
Subject: elementary stream question
Date: Tue, 10 Dec 1996 11:41:21 -0800 (PST)	[thread overview]
Message-ID: <199612101941.LAA18986@eagle.ece.uci.edu> (raw)

I was just trying out the following piece of code from "Functional Programming
using Caml-light" using Objective Caml 1.02:

# let next = function [< 'x >] -> x;;
Characters 20-22:
Syntax error

So how do I get functions to operate on streams? Is this part of
the Caml syntax different in OCaml? Thanks for any help.

--prashanth






                 reply	other threads:[~1996-12-11 10:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199612101941.LAA18986@eagle.ece.uci.edu \
    --to=mundkur@ece.uci.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).