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 XAA17801; Mon, 17 Feb 2003 23:53:06 +0100 (MET) 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 XAA17687 for ; Mon, 17 Feb 2003 23:53:05 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com (host30-68.pool80116.interbusiness.it [80.116.68.30]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h1HMr4P03414 for ; Mon, 17 Feb 2003 23:53:04 +0100 (MET) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id 98E8D273AA; Mon, 17 Feb 2003 23:57:04 +0100 (CET) Message-ID: <3E5168C0.6050004@baretta.com> Date: Mon, 17 Feb 2003 23:57:04 +0100 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: it, en MIME-Version: 1.0 To: Oleg , ocaml Subject: Re: [Caml-list] streams syntax References: <200302171737.14156.oleg_inconnu@myrealbox.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 = ------------------- 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