RE: panic: addImpDecls

"Simon Peyton-Jones" <[email protected]>
Newsgroups gmane.comp.lang.haskell.template
Message-ID <036EAC76E7F5EC4996A3B3C3657D41160128F01A@EUR-MSG-21.europe.corp.microsoft.com>
| Is this preparatory work visible at all? Or still under wraps? Could
| you explain the idea in a little more detail? Is this only for
"closed"
| declarations and expressions?

It's not secret; it's just not implemented! 

Briefly the deal is this.  Currently the type checker typechecks
brackets, but throws the translated (type-annotated) term away.  The
desugarer translates the original un-annotated term.  It'd be better to
keep the translated term, so the desugarer could (if THSyntax supported
types somehow) have access to the types.  But the translated term is
slightly mixed up: there are type abstractions and applications (easy to
discard), but AbsBinds (the translation of a binding group) is a bit
more of a problem.  Anyway, it seems like the right way to go.  Just
need to find time to do it.

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.