#4230: Template Haskell: less type checking in quotations?
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  6.12.3      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by Ashley Yakeley):

 What bad things would happen if quotations were not type-checked?

 I found the early type-checking a bit surprising: my first expectation was
 that a quotation is just a convenient alternative to writing out all those
 Language.TH constructors. It's certainly possible to construct badly-typed
 programs using the latter.

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