#5235: Template Haskell rejects list comprehensions
---------------------------------+------------------------------------------
    Reporter:  roldugin          |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Component:  Template Haskell
     Version:  7.1               |    Keywords:                  
    Testcase:                    |   Blockedby:                  
          Os:  Unknown/Multiple  |    Blocking:                  
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
---------------------------------+------------------------------------------
 Template Haskell stopped accepting list comprehensions in the GHC head.

 {{{
 $ ghc-stage2 --interactive -fth
 Prelude> :m +Language.Haskell.TH
 Prelude Language.Haskell.TH> runQ [| [x | x <- [1,2,3]] |]

 <interactive>:0:9:
    Exotic statement not (yet) handled by Template Haskell [x]
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to