#5348: Template Haskell quasiquote escapes
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  7.0.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by benmachine):

 * cc: haskell@… (added)


Comment:

 I agree with Yitz. Adding an escaping mechanism adds ''no'' expressivity,
 just complexity and surprise. I spent a little time implementing the `|\]`
 escape mechanism, and it's only while testing it that I noticed that `\|]`
 existed. I really think the former is more natural and doesn't require any
 "magic" to support. I don't think lack of uniformity is a sensible
 argument, since nothing else about quasiquoters is uniform in any case,
 and if we added library support as suggested then that would at least
 encourage a common pattern.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5348#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to