caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Prevost <j.prevost@cs.cmu.edu>
To: Pierre Weis <pierre.weis@inria.fr>
Cc: j.prevost@cs.cmu.edu (John Prevost),
	alex@baretta.com, caml-list@inria.fr
Subject: Re: [Caml-list] Functional scanning facilities
Date: 12 Jul 2002 03:58:21 -0400 (33.219 UMT)	[thread overview]
Message-ID: <86adox2x9e.fsf@laurelin.dementia.org> (raw)
In-Reply-To: <200207120724.JAA17517@pauillac.inria.fr>

>>>>> "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


  parent reply	other threads:[~2002-07-12  7:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12  1:36 Alessandro Baretta
2002-07-12  2:43 ` John Prevost
2002-07-12  7:24   ` Pierre Weis
2002-07-12  7:55     ` Basile STARYNKEVITCH
2002-07-12  7:58     ` John Prevost [this message]
2002-07-12  8:25     ` Stefano Zacchiroli
2002-07-12 11:16       ` Pierre Weis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86adox2x9e.fsf@laurelin.dementia.org \
    --to=j.prevost@cs.cmu.edu \
    --cc=alex@baretta.com \
    --cc=caml-list@inria.fr \
    --cc=pierre.weis@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).