[Haskell-cafe] What does the `forall` mean ?

Steffen Schuldenzucker sschuldenzucker at uni-bonn.de
Thu Nov 12 17:57:29 EST 2009


Andrew Coppin wrote:
> 
> I just meant it's not immediately clear how
> 
>  foo :: forall x. (x -> x -> y)
> 
> is different from
> 
> foo :: (forall x. x -> x) -> y

Uhm, I guess you meant

foo :: forall x. ((x -> x) -> y)

VS.

foo :: (forall x. x -> x) -> y


, didn't you?


More information about the Haskell-Cafe mailing list