[Haskell-cafe] How to solve this problem?It's quite easy in PHP.

Neil Mitchell ndmitchell at gmail.com
Wed Feb 14 07:16:59 EST 2007

Hi Don,

> Type :? for help
> Hugs.Base> :l Text.Printf
> Text.Printf> printf "%d" (1::Int) :: String
> "1"

My bad - sorry, too many presentations/papers were people encoded
printf using multi-ranked-generalised-associated types :)

> Fix Yhc!

Fair point, should be as simple as compiling that file...



More information about the Haskell-Cafe mailing list