Anybody know how to fix this? Seems like it should be fairly straightforward
[ghc] src/Darcs/Patch/Depends.o
src/Darcs/Patch/Depends.hs:188:17:
Overlapping instances for Monad (Either MissingPatch)
arising from use of `return'
at src/Darcs/Patch/Depends.hs:188:17-70
Matching instances:
instance (Control.Monad.Error.Error e) => Monad (Either e)
-- Defined in Control.Monad.Error
instance (Error e) => Monad (Either e)
-- Defined in Control.Monad.Error
In the expression:
return ([], (NilRL :<: NilRL) :\/: ((concatRL ps2) :<: NilRL))
In the definition of `gcau':
gcau NilRL ps2
= return ([], (NilRL :<: NilRL) :\/: ((concatRL ps2) :<: NilRL))
src/Darcs/Patch/Depends.hs:299:22:
Overlapping instances for Monad (Either String)
arising from use of `hopefullyM'
at src/Darcs/Patch/Depends.hs:299:22-34
Matching instances:
instance (Control.Monad.Error.Error e) => Monad (Either e)
-- Defined in Control.Monad.Error
instance (Error e) => Monad (Either e)
-- Defined in Control.Monad.Error
In the scrutinee of a case expression: hopefullyM hp
In the expression:
case hopefullyM hp of
Right p' -> return p'
Left e -> Left (MissingPatch (info hp) e)
In the definition of `ep':
ep = case hopefullyM hp of
Right p' -> return p'
Left e -> Left (MissingPatch (info hp) e)
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
