English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-06-28 (18:39)
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.


Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

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