[GHC] #1262: RecursiveDo in Template Haskell (was: mdo in Template Haskell)
GHC
cvs-ghc at haskell.org
Sun Jan 27 16:04:50 CET 2013
#1262: RecursiveDo in Template Haskell
----------------------------------------+-----------------------------------
Reporter: philip.weaver@… | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: _|_
Component: Template Haskell | Version: 6.6
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------------+-----------------------------------
Comment(by igloo):
{{{
Prelude> :set -XRecursiveDo -XTemplateHaskell
Prelude> :m + Language.Haskell.TH
Prelude Language.Haskell.TH> do x <- runQ [| do rec { x <- return y; y <-
return x }; return () |]; putStrLn (pprint x)
<interactive>:4:17:
Exotic statement not (yet) handled by Template Haskell
[rec { x <- return y;
y <- return x },
return ()]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1262#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list