Re: Using the GHC API: pretty printing with qualified names

2010-11-19 Thread JP Moresmau
OK, I have fixed my problem, without forcing all my users to upgrade to GHC 7: using the renamed source instead of the typechecked source gives me the properly qualified name. I hope that won't cause other problems but for the moment everything looks fine (functions, constructors, with type

RE: [Haskell-cafe] Impredicative Types

2010-11-19 Thread Simon Peyton-Jones
Yes, impredicative types are still in, but in a simpler form than before, along the lines of QML http://research.microsoft.com/en-us/um/people/crusso/qml/ I have been too busy with getting the new type checker working to describe or document it. Notably, I have not yet added syntax for QML's

RE: [Haskell-cafe] Impredicative Types

2010-11-19 Thread Simon Peyton-Jones
read the QML paper! that's the trick. simpler, but with a heavier annotation burden than the more sophisticated approaches | -Original Message- | From: Gregory Crosswhite [mailto:gcr...@phys.washington.edu] | Sent: 19 November 2010 19:59 | To: Simon Peyton-Jones | Cc: Haskell Cafe;

Re: Support for compiler plugins in GHC HEAD

2010-11-19 Thread austin seipp
Hello, I've updated the patch with a few validate fixes (failings due to -Werror) and a few other things. I've instead uploaded the patch here (to avoid g-h-u and cvs-ghc from blocking me due to a large message so people can see):