[Haskell-cafe] Typing Haskell in Haskell

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sat May 1 10:21:05 EDT 2010


Aaron Gray <aaronngray.lists at googlemail.com> writes:

> 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 at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list