Permalink
Browse files

Mutator

  • Loading branch information...
ekmett committed Aug 13, 2012
1 parent 884227a commit 1a44c857544f8e9508e9a6273ccb14588c01dc8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Control/Lens/Iso.hs
View
@@ -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 #-}

0 comments on commit 1a44c85

Please sign in to comment.