[Haskell-cafe] Curiose types

Stefan Holdermans stefan at cs.uu.nl
Sun May 27 08:10:40 EDT 2007


Andrew,

> Which is beautifully symmetric. Alternatively, you can think about  
> how you actually use it:
>
>  map :: ((a -> b) -> [a]) -> [b]

I am not following here: what do you mean? Clearly, this is not a  
valid typing for map. Moreover, modulo undefinedness, there are no  
functions with this typing.

Cheers,

   Stefan


More information about the Haskell-Cafe mailing list