From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA27914; Mon, 28 Jun 2004 20:39:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA27903 for ; Mon, 28 Jun 2004 20:39:36 +0200 (MET DST) Received: from web60905.mail.yahoo.com (web60905.mail.yahoo.com [216.155.196.81]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i5SIdZEV013308 for ; Mon, 28 Jun 2004 20:39:35 +0200 Message-ID: <20040628183935.84910.qmail@web60905.mail.yahoo.com> Received: from [155.99.182.148] by web60905.mail.yahoo.com via HTTP; Mon, 28 Jun 2004 11:39:35 PDT Date: Mon, 28 Jun 2004 11:39:35 -0700 (PDT) From: Gu Nu Subject: [Caml-list] [newbie] How can I use Stream in toplevel ? To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 40E065E7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; newbie:01 sytax:01 promotions:99 cmo:01 ocaml:01 caml:01 command:98 toplevel:01 toplevel:01 library:03 object:03 viruses:95 compiled:05 gnu:05 core:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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