[GHC] #6038: Allow view patterns inside record patterns

GHC cvs-ghc at haskell.org
Wed Aug 15 14:40:57 CEST 2012


#6038: Allow view patterns inside record patterns
---------------------------------+------------------------------------------
    Reporter:  akio              |       Owner:                  
        Type:  feature request   |      Status:  patch           
    Priority:  normal            |   Milestone:  _|_             
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by akio):

  * status:  new => patch


Comment:

 This is my attempt. It makes the above code compile and adds no validation
 errors. It also allows bang patterns in addition to view patterns.

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



More information about the Glasgow-haskell-bugs mailing list