
#9272: Template Haskell doesn't support n+k patterns ----------------------------+---------------------------------------------- Reporter: br1 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Template | Version: 7.8.2 Haskell | Operating System: Unknown/Multiple Keywords: | Type of failure: GHC rejects valid program Architecture: | Test Case: Unknown/Multiple | Blocking: Difficulty: Unknown | Blocked By: | Related Tickets: | ----------------------------+---------------------------------------------- ghci> runQ [d| foo (n+3) = 42 |] <interactive>:1:6: Exotic pattern not (yet) handled by Template Haskell n+3 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9272 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler