Skip to content

Commit c678f29

Browse files
committed
add law
1 parent 082dbc7 commit c678f29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Control/Lens/Setter.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ icensoring l uv = censor (iover l uv)
11301130
--
11311131
-- @
11321132
-- 'locally' l 'id' a ≡ a
1133+
-- 'locally' l f '.' locally l g ≡ 'locally' l (f '.' g)
11331134
-- @
11341135
--
11351136
-- >>> (1,1) & locally _1 (+1) (uncurry (+))

0 commit comments

Comments
 (0)