[GHC] #8186: Parallel comprehensions not allowed in Template Haskell quotes

#8186: Parallel comprehensions not allowed in Template Haskell quotes ------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.7 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- When my code contains {{{ [| [ (x,y) | x <- [0..10] | y <- [0,5..50] ] |] }}} I get {{{ Exotic statement not (yet) handled by Template Haskell [x <- [0 .. 10] | y <- [0, 5 .. 50], (x, y)] }}} Interestingly, the node to handle parallel comprehensions (`ParS`) already exists in Template Haskell, but the code in !DsMeta is missing. I will submit a patch shortly. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8186 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8186: Parallel comprehensions not allowed in Template Haskell quotes
-------------------------------------+------------------------------------
Reporter: goldfire | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Richard Eisenberg

#8186: Parallel comprehensions not allowed in Template Haskell quotes
-------------------------------------+------------------------------------
Reporter: goldfire | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Richard Eisenberg

#8186: Parallel comprehensions not allowed in Template Haskell quotes -------------------------------------+------------------------------------ Reporter: goldfire | Owner: goldfire Type: bug | Status: closed Priority: normal | Milestone: Component: Template Haskell | Version: 7.7 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: th/T8186 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by goldfire): * status: new => closed * testcase: => th/T8186 * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8186#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC