[darcs-users] darcs patch: Is this Monadish?

Jason Dagit dagit at codersbase.com
Thu Aug 28 06:16:41 UTC 2008


Some things look tricky still.  For example,

tentativelyMergePatches_ :: forall p C(r u t y x). RepoPatch p
                         => MakeChanges
                         -> String -> [DarcsFlag]
                         -> FL (PatchInfoAnd p) C(x r) -> FL
(PatchInfoAnd p) C(x y)
                         -> IORepo (RepoInState C(r u t)) (Sealed
(RepoInState C(r u))) (Sealed (FL Prim C(u)))


Is that right?  I think it is, but now well have to deal with sealed
states in (>>>=).

Hopefully I'm missing something silly.

Jason


More information about the darcs-users mailing list