[Haskell-cafe] ScopedTypeVariables in let-bindings (not where-bindings!) and bug 4347

Daniel Fischer daniel.is.fischer at googlemail.com
Sat May 21 16:36:11 CEST 2011


On Saturday 21 May 2011 16:17:53, Paolo G. Giarrusso wrote:
> 
> Moreover, the proposed solution not always works.
> Neither of these work:
> let f :: x -> x; g :: y -> y; (f, g) = (id, id)
> let f :: x -> x; g :: y -> y; (f, g) = (f, g)

Requires -XNoMonoPatBinds



More information about the Haskell-Cafe mailing list