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: Gu Nu <gnu04@y...>
Subject: [Caml-list] [newbie] How can I use Stream in toplevel ?
Hi,  all

Since Stream is not part of the stable core of Object
Caml, how can I use it in a toplevel? I compiled
stream.ml in Ocaml library directory, and typed the
following command in toplevel :

# #load "stream.cmo";;
# open Stream;;

# [< >];;
 
 I got sytax error here. However, according to
O'Rielly 's book, Stream should be describled in this
way. How can I solve this problem? 

Thank you so much.

Andy


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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