Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mutator

  • Loading branch information...
commit 1a44c857544f8e9508e9a6273ccb14588c01dc8a 1 parent 884227a
@ekmett authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Control/Lens/Iso.hs
View
2  src/Control/Lens/Iso.hs
@@ -194,7 +194,7 @@ auf l f g e = f (view l . g) e ^. from l
-- 12
--
-- @'over' :: Iso a b c d -> (a -> b) -> (c -> d)@
-over :: Isomorphism (c -> Identity d) (a -> Identity b) -> (a -> b) -> c -> d
+over :: Isomorphism (c -> Mutator d) (a -> Mutator b) -> (a -> b) -> c -> d
over = under . from
{-# INLINE over #-}
Please sign in to comment.
Something went wrong with that request. Please try again.