caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* elementary stream question
@ 1996-12-10 19:41 Prashanth Mundkur
  0 siblings, 0 replies; only message in thread
From: Prashanth Mundkur @ 1996-12-10 19:41 UTC (permalink / raw)
  To: caml-list

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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-11 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-10 19:41 elementary stream question Prashanth Mundkur

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).