[GHC] #4372: Extending quasiquotation support

GHC cvs-ghc at haskell.org
Wed Oct 6 16:19:19 EDT 2010


#4372: Extending quasiquotation support
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Template Haskell  |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by kfisher):

 I can see the utility of such a change, but I would want to ensure that
 the syntax stays very light for the forms that are currently supported.
 Ie, for my simple use, I want to be able to continue to use the syntax
   [pads| <pads-syntax> |]

 I don't want to have to use a $ before pads and I don't want to have a
 heavier-weight divider between the quoter and the quoted material.  I can
 imagine allowing the richer forms by supporting also the more verbose
 syntax

   [$quoter-expression $| quoted expression |]

 or something along those lines.

 Kathleen

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


More information about the Glasgow-haskell-bugs mailing list