
Hi, I am relatively new to Haskell. I am attempting to get "Typing Haskell in Haskell" to work on HUGS or GHC. http://web.cecs.pdx.edu/~mpj/thih/ I am getting an error on loading SourcePrelude :- Hugs> :l SourcePrelude ERROR ".\PPrint.hs" - Can't find imported module "Pretty" And I cannot find a Pretty module, the module and "Language.Haskell.Pretty" does not seem to be what is required. Any help welcome, Aaron

On Sat, May 1, 2010 at 10:05 AM, Aaron Gray
Hi, I am relatively new to Haskell. I am attempting to get "Typing Haskell in Haskell" to work on HUGS or GHC. http://web.cecs.pdx.edu/~mpj/thih/ I am getting an error on loading SourcePrelude :- Hugs> :l SourcePrelude ERROR ".\PPrint.hs" - Can't find imported module "Pretty" And I cannot find a Pretty module, the module and "Language.Haskell.Pretty" does not seem to be what is required. Any help welcome, Aaron
I strongly suggest you only bother with GHC and not try Hugs. As far as THIH, I cabalized and uploaded it a while ago: http://hackage.haskell.org/package/thih You should have better luck with that. -- gwern

Aaron Gray
I am relatively new to Haskell. I am attempting to get "Typing Haskell in Haskell" to work on HUGS or GHC.
http://web.cecs.pdx.edu/~mpj/thih/
I am getting an error on loading SourcePrelude :-
Hugs> :l SourcePrelude ERROR ".\PPrint.hs" - Can't find imported module "Pretty"
I think you want Text.PrettyPrint rather than just Pretty. This comes with GHC at least; no idea about Hugs. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (3)
-
Aaron Gray
-
Gwern Branwen
-
Ivan Lazar Miljenovic