... | ... | @@ -71,4 +71,12 @@ Another motivation for lexing - as part of a numeric literal (or changing its pr |
|
|
[09:36] < sieni> quicksilver: yeah I know, that has bitten me too :-)
|
|
|
[09:36] < quicksilver> I always expect unary minus to bind tight
|
|
|
[09:37] < osfameron> yeah, haskell's unary minus is surprisingly loose
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
haskell-src-exts, haskell-src, and HLint have been using a unary minus that binds tighter than any other infix operator, and have never encountered any problems with it: [ http://www.haskell.org/pipermail/haskell-prime/2009-August/002955.html](http://www.haskell.org/pipermail/haskell-prime/2009-August/002955.html).
|
|
|
|
|
|
|