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 JAA18038; Fri, 12 Jul 2002 09:51:48 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA18034 for ; Fri, 12 Jul 2002 09:51:47 +0200 (MET DST) Received: from laurelin.dementia.org ([208.167.88.73]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6C7pkr13006; Fri, 12 Jul 2002 09:51:46 +0200 (MET DST) Received: by laurelin.dementia.org (Postfix, from userid 1001) id 9B3D270C3; Fri, 12 Jul 2002 03:58:21 -0400 (EDT) To: Pierre Weis Cc: j.prevost@cs.cmu.edu (John Prevost), alex@baretta.com, caml-list@inria.fr Subject: Re: [Caml-list] Functional scanning facilities References: <200207120724.JAA17517@pauillac.inria.fr> From: John Prevost Date: 12 Jul 2002 03:58:21 -0400 (33.219 UMT) In-Reply-To: <200207120724.JAA17517@pauillac.inria.fr> Message-ID: <86adox2x9e.fsf@laurelin.dementia.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >>>>> "pw" == Pierre Weis writes: pw> Here, we want to design and implement a practical, compact, pw> simple to understand, and easy way to print and scan in the pw> context of a functional language with full-fledged imperative pw> features (we are not in a lazy context where monades are pw> mandatory anyway). Right right, I agree that the scanf that's coming is a better solution for O'Caml. But on the other hand, I prefer combinator parsing (even in O'Caml where it's slightly awkward) to the stream parsers in O'Caml. And sometimes I like to use combinator formatters rather than printf. There's a place for both kinds of things. :) John. ------------------- 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