Associativity of ViewPatterns

Bas van Dijk v.dijk.bas at gmail.com
Wed Jan 6 07:43:53 EST 2010


Hello,

Why is the following a syntax error:

f (view1 -> view2 -> pattern) = ...

and the following isn't:

f (view1 -> (view2 -> pattern)) = ...

I would prefer the first version.

regards,

Bas


More information about the Glasgow-haskell-users mailing list