[Haskell-cafe] Re: Pure Haskell Printf

Peter Simons simons at cryp.to
Tue Nov 16 06:58:37 EST 2004


Jon Fairbairn writes:

 >> vsprintf "%d, your age is %s\n" "John" (10::Integer)

 > is type incorrect, but won't be reported at compile time.

Hmmm. Right. You'd need Template Haskell for that.

I see.

Peter



More information about the Haskell-Cafe mailing list