[Haskell-cafe] mapOfmap & composition

Christian Maeder maeder at tzi.de
Fri Dec 9 11:31:06 EST 2005


raptor wrote:
> And second why when I try do do function composition i.e. :
> 
> newf = map . f
> 
> But this works :
> 
> newf x = map (f x)

Does f has constraints? It should work with a type signature.

HTH Christian


More information about the Haskell-Cafe mailing list