Fix docs on Proxy instance
commitb97e921707280f6680ccd549c7e206b84194a385
authorJohn Ericson <John.Ericson@Obsidian.Systems>
dateTue 21 Jan 2020, 12:24 (7 years ago)
parent1139ceb
src/Data/Patch/Class.hs+1−1
@@ -26,7 +26,7 @@ instance Patch (Identity a) where
2626 type PatchTarget (Identity a) = a
2727 apply (Identity a) _ = Just a
2828
29−-- | 'Identity' can be used as a 'Patch' that always fully replaces the value
29+-- | 'Proxy' can be used as a 'Patch' that does nothing.
3030instance Patch (Proxy a) where
3131 type PatchTarget (Proxy a) = a
3232 apply ~Proxy _ = Nothing