[GHC] #2399: Template Haskell: support for view patterns

GHC trac at galois.com
Fri Jan 30 10:46:36 EST 2009


#2399: Template Haskell: support for view patterns
---------------------------------+------------------------------------------
    Reporter:  fons              |        Owner:                  
        Type:  feature request   |       Status:  new             
    Priority:  low               |    Milestone:  _|_             
   Component:  Template Haskell  |      Version:  6.11            
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by simonpj):

 What is the "change" that you advocate?  The one that this ticket started
 with, namely adding view patterns to TH?

 I have not looked into it in detail, but I don't think it's hard.  As
 usual for TH, it means
   * Design the TH syntax data types
   * Write code in GHC to convert between TH and HsSyn

 No rocket science.  The trouble is that these TH extensions never get to
 the top of my priority list!  But nagging is good... that ups the
 priority.  I also always hope that someone else will to the work and send
 a patch!

 Simon

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


More information about the Glasgow-haskell-bugs mailing list