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] 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.


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