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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] Polymorphic pretty printing
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