#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
---------------------------------+------------------------------------------

Comment(by kfisher):

 Simon asked me to comment on this thread.  I'm afraid I don't fully
 understand the proposal.   Could you explain it in a bit more detail,
 perhaps working out a small example that shows a bit of Haskell containing
 a |] contained within the pads/haskell quasi-quoter?

 Practically our quoted Haskell is very simple and so is unlikely to
 contain an '|]' symbol.  However, it would be nice to get the corner cases
 right.  I don't want to have to define multiple quasi quoters in multiple
 files to get this corner case right, which is what it sounds like I might
 have to do under this proposal.  I certainly don't want my end user to see
 that kind of complexity.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5348#comment:13>
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