[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 <eir@…>): In [changeset:382f601406b11b7d4fdc72d773c6060372f1fbb3/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="382f601406b11b7d4fdc72d773c6060372f1fbb3" Fix Trac #8186. Parallel list comprehensions are now handled in DsMeta. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8186#comment:1> 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 <eir@…>): In [changeset:f3bef384968fca3ed3a9f9874d44bbdc7d8d3218/testsuite]: {{{ #!CommitTicketReference repository="testsuite" revision="f3bef384968fca3ed3a9f9874d44bbdc7d8d3218" Add test for #8186 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8186#comment:2> 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: 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