[GHC] #4372: Extending quasiquotation support

GHC cvs-ghc at haskell.org
Wed Oct 6 09:11:36 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 gershomb):

 Not for the simple case, no. But these are module signatures, and import
 lists. So we if we have, e.g., a collection of modules composing a
 standard library, which individual modules may want to mix and match, it
 seems awkward to have to define a new quasiquoter for every combination.

 One can always get the desired functionality at the cost of an extra
 module, but if the idiom becomes commonly used in the codebase, then all
 of the extra modules defining different combinations of arguments could
 become fairly noisy and confusing.

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


More information about the Glasgow-haskell-bugs mailing list