[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alessandro Baretta <alex@b...> |
| Subject: | Re: [Caml-list] streams syntax |
Oleg wrote:
> Hi
>
> Is the [< ... >] syntax for streams deprecated? No one seems to have told
> me...
>
> $ ocaml
> Objective Caml version 3.06
>
> # [< '1; '2 >];;
> Syntax error
>
>
> Oleg
Look into the CamlP4 manual. You'll find them there.
Here's an example.
[alex@athlon alex]$ ledit ocaml
Objective Caml version 3.06
# #load "camlp4o.cma";;
Camlp4 Parsing version 3.06
# [< '1 >];;
- : int Stream.t = <abstr>
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners