Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

linking

  • Loading branch information...
commit 435e1067e2c4eed1a030e3d54f190591a8fa595b 1 parent 9315095
@ekmett authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Control/Lens/Setter.hs
View
4 src/Control/Lens/Setter.hs
@@ -73,7 +73,7 @@ infixr 2 <~
-- However, two 'Functor' laws apply to a 'Setter':
--
-- @
--- 'adjust' l id = id
+-- 'adjust' l 'id' = 'id'
-- 'adjust' l f . 'adjust' l g = 'adjust' l (f . g)
-- @
--
@@ -309,7 +309,7 @@ set l d = runMutator . l (\_ -> Mutator d)
--
-- This is mostly present for consistency, but may be useful for for chaining assignments
--
--- If you do not need a copy of the intermediate result, then using @l .~ d@ directly is a good idea.
+-- If you do not need a copy of the intermediate result, then using @l '.~' d@ directly is a good idea.
--
-- @
-- (\<.~) :: 'Setter' a b c d -> d -> a -> (d, b)
Please sign in to comment.
Something went wrong with that request. Please try again.