#2041: Allow splicing in concrete syntax ---------------------------------+------------------------------------------ Reporter: igloo | Owner: Type: feature request | Status: new Priority: normal | Milestone: _|_ Component: Template Haskell | Version: 6.8.2 Keywords: | Testcase: Blockedby: | Difficulty: Unknown Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown ---------------------------------+------------------------------------------ Changes (by reinerp):
* cc: reiner.p...@… (added) * failure: => None/Unknown Comment: Another use for this would be for creating custom quasiquoters with antiquoting. Say, to create a custom list quasiquoter: {{{ [list| x^2+y, 3*z |] }}} the quasiquoter needs to parse antiquoted expressions such as {{{x^2+y}}} and {{{3*z}}} into TH abstract syntax. Current quasiquoters mostly do this using haskell-src-exts (via the haskell-src-meta library), but it would be neater just to return a {{{RawE antiquoted_stuff}}} expression. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2041#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs