[GHC] #12605: UnboxedSums causes parse error on hash operator e.g. `let (#) = (+)`
GHC
ghc-devs at haskell.org
Wed Sep 21 19:39:14 UTC 2016
#12605: UnboxedSums causes parse error on hash operator e.g. `let (#) = (+)`
-------------------------------------+-------------------------------------
Reporter: jberryman | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: invalid | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by rwbarton):
* status: new => closed
* resolution: => invalid
Comment:
Presumably you won't need to enable any language extensions in order to
take advantage of optimizations that use unboxed sums. There are already
important optimizations that introduce unboxed tuples, and they don't
require a language extension. These language extensions just allow you to
write unboxed sums/tuples in the surface syntax.
I guess I'll close this ticket since I don't think we should do anything
here, though I don't feel too strongly about it.
By the way, the workaround for the original issue is to add a space before
`#.`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12605#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list