caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Brown <caml-list@davidb.org>
To: Brian Hurt <bhurt@spnz.org>
Cc: Pierre Weis <pierre.weis@inria.fr>,
	jeanmarc.eber@lexifi.com, martin_jambon@emailuser.net,
	caml-list@inria.fr
Subject: Re: [Caml-list] Printing text with holes
Date: Mon, 29 Sep 2003 23:11:43 -0700	[thread overview]
Message-ID: <20030930061143.GA8518@davidb.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0309292258310.3771-100000@localhost.localdomain>

On Mon, Sep 29, 2003 at 11:40:21PM -0500, Brian Hurt wrote:

> At heart, printf is doing two seperate jobs...

I've done considerable programming both in languages that have
printf-style formatting (checked and unchecked), as well as languages
that require operators or such to build up formatting.  Any time I've
wanted to output something, I have one of two responses, depending on
the language:

  - Grumble, grumble, grumble.
  - Just write it.

You can probably guess which is which.  That ocaml has been able to
integrate printf formatting in a type-safe way is truly amazing, and to
me one of the things that makes ocaml a wonderful language.

True, it isn't universally extensibly, but it is a lot more so than most
people think.

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


  reply	other threads:[~2003-09-30  6:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29 13:16 Martin Jambon
2003-09-29 14:10 ` Christian Lindig
2003-09-29 16:25 ` Benjamin Geer
2003-09-29 16:39 ` Brian Hurt
2003-09-29 17:45   ` Jean-Marc EBER
2003-09-29 18:22     ` Brian Hurt
2003-09-29 20:48       ` Pierre Weis
2003-09-29 21:52         ` Richard Jones
2003-09-29 22:07           ` Fred Yankowski
2003-09-29 22:14             ` Daniel M. Albro
2003-09-29 22:19               ` Richard Jones
2003-09-29 22:23             ` Matthieu Sozeau
2003-09-30  3:56             ` Brian Hurt
2003-09-30  4:40         ` Brian Hurt
2003-09-30  6:11           ` David Brown [this message]
2003-09-29 18:57     ` Martin Jambon
2003-09-29 21:25       ` Pierre Weis
2003-09-30 12:52       ` skaller
2003-09-30 17:48         ` Martin Jambon
2003-09-29 18:16   ` Richard Jones
2003-09-29 17:00 ` Pierre Weis
2003-09-29 17:03 ` Karl Zilles
2003-09-29 21:47   ` Pierre Weis
2003-09-30  7:20     ` Jean-Christophe Filliatre

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=20030930061143.GA8518@davidb.org \
    --to=caml-list@davidb.org \
    --cc=bhurt@spnz.org \
    --cc=caml-list@inria.fr \
    --cc=jeanmarc.eber@lexifi.com \
    --cc=martin_jambon@emailuser.net \
    --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).