Template Haskell rejects list comprehensions
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]
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Template Haskell |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | igloo@earth.li |
| Operating system | |
| Architecture |