Associativity of ViewPatterns

Simon Peyton-Jones simonpj at microsoft.com
Wed Jan 6 11:34:04 EST 2010


Good point. I'll fix that, in HEAD at least.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of Bas van Dijk
| Sent: 06 January 2010 12:44
| To: glasgow-haskell-users at haskell.org
| Subject: Associativity of ViewPatterns
| 
| 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
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list