Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Functional scanning facilities
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Prevost <j.prevost@c...>
Subject: Re: [Caml-list] Functional scanning facilities
>>>>> "pw" == Pierre Weis <pierre.weis@inria.fr> 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