1
1
mirror of https://github.com/github/semantic.git synced 2025-01-04 13:34:31 +03:00

Use Patches’ inverse directly.

This commit is contained in:
Rob Rix 2015-10-16 09:24:12 -04:00
parent 1493b2938e
commit 52dc661fc9

View File

@ -139,7 +139,7 @@ extension Free where B: PatchType, B.Element == Cofree<A, ()> {
public var inverse: Free { public var inverse: Free {
return map { B(patch: $0.patch.inverse) } return map { $0.inverse }
} }
} }