[Haskell-cafe] Re: Pure Haskell Printf

Jérémy Bobbio jbobbio at insia.org
Tue Nov 16 06:42:30 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Simons wrote:
|  > You can save even more characters:
|
|  > msg  = verb "i = " . shows 12 . verb "\tj = " $ "test"
|
| Right! One more reason to use ShowS-style. :-)

There is a probleme with ShowS though: it is not internationalizable at
all.  Strings like printf's or with any kind of variable substitution is
required for proper internationalization / localization.

Jérémy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBmeed2PUjs9fQ72URAt6hAJ925nXOwtYwVKUtQyBpVA5syjVzzgCgoZLZ
I8G5ZEAz9BPiqC3YPN0ybGU=
=CUth
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list