
#7725: Operators without colons ----------------------------------------+----------------------------------- Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: GHC accepts invalid program | Blockedby: Blocking: | Related: ----------------------------------------+----------------------------------- This code is accepted: {{{ data A x y = (&) x y }}} but it's wrong - as far as I know operators on the value level are constructors iff they start with a colon `(:&)`. (In fact {{{a = (&)}}} reports "Not in scope: (&)".) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7725 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler