[Haskell-cafe] Very crazy

Andrew Coppin andrewcoppin at btinternet.com
Tue Sep 25 07:25:26 EDT 2007


Chaddaï Fouché wrote:
> 2007/9/25, Andrew Coppin <andrewcoppin at btinternet.com>:
>   
>>> printf don't always perform IO : if you ask it for a String it will
>>> happily turn into sprintf for you, if you use it in the IO Monad, it
>>> will indeed perform IO, but there's nothing fundamentally IO bound in
>>> printf logic.
>>>
>>>       
>> That's even *more* impossible... o_O
>>     
>
> Why ?
>   

How can one function have more than one type signature?



More information about the Haskell-Cafe mailing list