[Haskell] Re: Compiling HXML toolbox under Hugs/Windows

Ferenc Wagner wferi at afavant.elte.hu
Thu Jan 29 11:04:59 EST 2004


Graham Klyne <GK at ninebynine.org> writes:

> Well, further to my previous response, it appears that
> there's a problem with GHC as well...  The XmlInput module
> imports a module called MD5, and uses a maethod 'digest'
> from that module.  I cannot find a copy of that module
> either in the HXML toolbox distribution, or in the GHC
> distribution.  I did find this in the GHC 6.2 release
> notes:
>
> [[
> The MD5 library in the util package has been removed. We'll include a
> replacement in the hierarchical libraries if someone would like to
> send us one!
> ]]
>
> Is your software tested under GHC 6.2?

The software is not mine, but I committed the following hack
to have it compile:

        h x = MD5.md5s (MD5.Str x)
        {- h = IOExts.unsafePerformIO . MD5.digest -}

ie. commented out the second line instead of the first.  I
don't care about authentication, so I don't know if it
actually works...

Feri.


More information about the Haskell mailing list