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 SAA17585; Tue, 9 Dec 2003 18:25:29 +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 SAA16753 for ; Tue, 9 Dec 2003 18:25:28 +0100 (MET) Received: from mail8.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hB9HPR103737 for ; Tue, 9 Dec 2003 18:25:27 +0100 (MET) Received: (qmail 4104 invoked from network); 9 Dec 2003 17:25:26 -0000 Received: from unknown (HELO grace.speakeasy.net) ([216.254.0.22]) (envelope-sender ) by mail8.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Dec 2003 17:25:26 -0000 Date: Tue, 9 Dec 2003 09:25:19 -0800 (PST) From: brogoff@speakeasy.net To: Jean-Baptiste Rouquier cc: "caml-list@inria.fr" Subject: Re: [Caml-list] stream conversion In-Reply-To: <3FD5FF44.3000003@ens-lyon.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: caml-list@inria.fr X-Spam: no; 0.00; brogoff:01 caml-list:01 foo:01 speakeasy:01 string:03 annoying:03 library:03 raise:05 functions:05 brian:06 mixed:07 stream:07 stream:07 function:09 streams:10 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk The documentation in the Stream library for the stream builders (you use Stream.of_string) states : Warning: these functions create streams with fast access; it is illegal to mix them with streams built with [< >]; would raise Failure when accessing such mixed streams. and you build such streams by stream concatenation with your convert function and when you make foo. Yes, this is very annoying. -- Brian ------------------- 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