`someName` does not always act like an infix.
$ cat infix.hs
main = print f
f = (div
) 3 4
[timothy@timothy haskell]$ ghc infix.hs
[1 of 1] Compiling Main ( infix.hs, infix.o )
infix.hs:2:11: parse error on input `)' [timothy@timothy haskell]$ cat infix1.hs main = print f (//) = div f = (//) 3 4 [timothy@timothy haskell]$ ghc infix1.hs [timothy@timothy haskell]$
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |