[GHC] #12969: Rebindable enumFrom etc. syntax

GHC ghc-devs at haskell.org
Tue Dec 13 04:00:50 UTC 2016


#12969: Rebindable enumFrom etc. syntax
-------------------------------------+-------------------------------------
           Reporter:  cactus         |             Owner:
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
  (Type checker)                     |
           Keywords:                 |  Operating System:  Unknown/Multiple
  RebindableSyntax                   |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Constructs like `[x..]` or `[x..y]` etc. seem to use wired-in `enumFrom`,
 `enumFromTo`, etc. names even when `RebindableSyntax` is turned on. I
 think we should allow these to be shadowed by the user the same way they
 can shadow other syntax desugarings.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12969>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list