
16 Nov
2004
16 Nov
'04
6:38 a.m.
On Tue, Nov 16, 2004 at 12:21:41PM +0100, Henning Thielemann wrote:
The function MissingH.Printf.sprintf is probably the better choice, but one could even replace [Value] by [String]. The conversion from any type to String can be easily done using 'show' by the caller. Though it gives the author of the format string less control over the formatting of particular types like numbers.
It seems to me that control over formatting of numbers is the only reason to use anything printf-like... but perhaps that's just because of the frequency with which I print (and read) doubles. -- David Roundy http://www.darcs.net