[GHC] #12969: Rebindable enumFrom etc. syntax
GHC
ghc-devs at haskell.org
Thu Dec 15 15:43:12 UTC 2016
#12969: Rebindable enumFrom etc. syntax
-------------------------------------+-------------------------------------
Reporter: cactus | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.0.1
checker) | Keywords:
Resolution: | RebindableSyntax
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
Currently they are defined to desugar to `fromList <the list>` and
`fromList` ''is'' rebindable.
You need `-XOverloadedLists` on to get this; see the
[https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html
#overloaded-lists manual section].
I'll add a note to the user manual.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12969#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list