[darcs-users] RE: arch2darcs and missingh

Page, Bill Bill.Page at drdc-rddc.gc.ca
Mon May 2 16:42:49 UTC 2005


John Goerzen,

Sorry that it's been a few days before I could continue
this work.

As you suggested below, I commented out the line

-- import Control.Monad.State

in MissingH/Hsemail/Rfc2821.hs but now during ./setup build
I get the message:

Compiling MissingH.Hsemail.Rfc2821 ( ./MissingH/Hsemail/Rfc2821.hs,
dist/build/./MissingH/Hsemail/Rfc2821.o )

./MissingH/Hsemail/Rfc2821.hs:430:20: Not in scope: `get'

./MissingH/Hsemail/Rfc2821.hs:489:15: Not in scope: `put'

-----------

Presumabley `get' and `put' were defined by Control.Monad.State
so I presume that the solution must be a little more complicated.

Any further suggestions?

Regards.


-----Original Message-----
From: John Goerzen [mailto:jgoerzen at complete.org]
Sent: Wednesday, April 27, 2005 9:11 PM
To: Bill Page (E-mail)
Cc: 'darcs-users at darcs.net'
Subject: Re: arch2darcs and missingh


On Wed, Apr 27, 2005 at 06:12:28PM -0400, Page, Bill wrote:
> John Goerzen,

Hi Bill,

Thanks for your bug report.  I don't have GHC 6.4 yet to test with
myself, so you get to test this with it :-)

I believe I have isolated the problem.  If you edit the file
MissingH/Hsemail/Rfc2821.hs, you'll find a line near the top that
reads:

import Control.Monad.State

Delete that line and try the build again.

I think that should fix it for you.

Please let me know.  I'll commit the fix to the MissingH tree and
release a new version if it does fix it for you.

Thank you for the helpful bug report.

-- John




More information about the darcs-users mailing list