[GHC] #7845: RebindableSyntax should allow rebinding tuples and lists

GHC cvs-ghc at haskell.org
Fri Apr 19 07:34:05 CEST 2013


#7845: RebindableSyntax should allow rebinding tuples and lists
-----------------------------+----------------------------------------------
Reporter:  exbb2             |          Owner:                  
    Type:  feature request   |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.7               |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 e.g.

 {{{
 {-# LANGUAGE RebindableSyntax #-}
 module StrictPrelude where

 data [] a = [] | !a : [a]

 data () = ()
 data (,) a b = (,) !a !b
 }}}

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



More information about the ghc-tickets mailing list