Skip to content

Commit 5f6de20

Browse files
Removed stupid line from documentation
The jsonpatch page really should be linked to elsewhere, not that bit of documentation
1 parent 3e75339 commit 5f6de20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LensPatch.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ findAndDelete (p:ps) o = do s <- o ^? toLens p
124124
(_2 %~ setj p o) <$> findAndDelete ps s
125125
findAndDelete [] _ = Nothing
126126

127-
-- |Applies a single JSON patch (described here: <http://jsonpatch.com/>)
127+
-- |Applies a single JSON patch
128128
patch :: Operation -> Value -> Either String Value
129129
patch (Add p v) obj = case safeAddAtPath p v obj of
130130
(Just a) -> Right a

0 commit comments

Comments
 (0)