From: David Brown <caml-list@davidb.org>
To: skaller <skaller@users.sourceforge.net>
Cc: Andrej Bauer <Andrej.Bauer@andrej.com>,
Christophe TROESTLER <debian00@tiscali.be>,
"O'Caml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Polymorphic pretty printing
Date: Sun, 24 Oct 2004 20:02:17 -0700 [thread overview]
Message-ID: <20041025030217.GB1582@old.davidb.org> (raw)
In-Reply-To: <1098666276.3075.65.camel@pelican.wigram>
On Mon, Oct 25, 2004 at 11:04:36AM +1000, skaller wrote:
> I'm curious why people want to use these kinds of routines.
> What does printf style mini-language printing have to offer compared to
> just using plain old Ocaml functions?
sprintf "%04d/%02d/%02d %02d:%02d:%02d" y m d h m s
becomes rather verbose and clumsy when written out as functions.
Dave
-------------------
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
next prev parent reply other threads:[~2004-10-25 3:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-18 15:42 Andrej Bauer
2004-10-22 22:07 ` Christophe TROESTLER
2004-10-24 20:54 ` Andrej Bauer
2004-10-25 1:04 ` skaller
2004-10-25 3:02 ` David Brown [this message]
2004-10-25 7:26 ` Andrej Bauer
2004-10-25 14:45 ` Jon Harrop
2004-11-26 22:54 ` Frédéric Gava
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=20041025030217.GB1582@old.davidb.org \
--to=caml-list@davidb.org \
--cc=Andrej.Bauer@andrej.com \
--cc=caml-list@inria.fr \
--cc=debian00@tiscali.be \
--cc=skaller@users.sourceforge.net \
/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