> * remove unused RestrictedApply from D.P.ApplyMonad
OK
> * cleanup method definitions in D.P.ApplyMonad
>
> This removes -fno-warn-missing-methods and explicitly defines missing
> methods as undefined. The darcsAddMissingHashesdefault definition of mCreateFile in terms of
> mModifyFilePS is removed. Defining a proper mCreateFile means we can remove
> the existence check from the definition of mModifyFilePS in the instance
> ApplyMonadTree (TM.TreeMonad m).
Using undefined is actually worse for error messages, maybe use an error
message we can grep for?
Rest looks fine, at the other call sites for mModifyFilePS it should
already exist.
> * replace class ApplyMonadState with a top-level type family
>
> The class ApplyMonadState was only there to carry the type (constraint)
> family ApplyMonadStateOperations, which I renamed to ApplyMonadOperations
> for brevity.
OK
|