I tried adding primitivePatches :: p -> [Prim] operation to the
Commute class, but importing Prim in Patchy.hs causes an import cycle
:(.

On Tue, Nov 3, 2009 at 11:43 PM, Kamil Dworakowski
<[email protected]> wrote:
> It seems to me that both the operations, list_touched_files and
> hunkMatches, map Prim to some Monoidal value, and for every other
> instance of Patchy they just mconcat from the children. Maybe adding a
> method that takes a function returning a monoidal value for a Prim
> would be good enough to express both list_touched_files and
> hunkMatches. What do you think?
>
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to