Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-07-12 (07:51)
From: John Prevost <j.prevost@c...>
Subject: Re: [Caml-list] Functional scanning facilities
>>>>> "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.  :)


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: