[Haskell-cafe] Typing Haskell in Haskell

Gwern Branwen gwern0 at gmail.com
Sat May 1 10:17:04 EDT 2010


On Sat, May 1, 2010 at 10:05 AM, Aaron Gray
<aaronngray.lists at googlemail.com> wrote:
> 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


More information about the Haskell-Cafe mailing list