Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] [newbie] How can I use Stream in toplevel ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Benjamin Geer <ben@s...>
Subject: Re: [Caml-list] [newbie] How can I use Stream in toplevel ?
Gu Nu wrote:
> Since Stream is not part of the stable core of Object
> Caml, how can I use it in a toplevel?

Streams are supported by Camlp4:

http://caml.inria.fr/camlp4/manual/

# #load "camlp4o.cma" ;;
         Camlp4 Parsing version 3.07+2

# #load "pa_o.cmo" ;;
# #load "pa_op.cmo" ;;
# [< >] ;;
- : 'a Stream.t = <abstr>

Please post questions like this to the beginners' list:

http://groups.yahoo.com/group/ocaml_beginners

Ben

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