Skip to content
Browse files

Get tests passing for anon

  • Loading branch information...
1 parent eeeb981 commit 3563e812fe449fe1506479fb7ea9c9f08892b8ee @glguy glguy committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Control/Lens/Iso.hs
View
2 src/Control/Lens/Iso.hs
@@ -265,7 +265,7 @@ non = anon . only
--
-- This function generates an isomorphism between @'Maybe' (a | 'isn't' p a)@ and @a@.
--
--- >>> Map.empty & at "hello" . anon _Empty . at "world" ?~ "!!!"
+-- >>> Map.singleton "hello" Map.empty & at "hello" . anon _Empty . at "world" ?~ "!!!"
-- fromList [("hello",fromList [("world","!!!")])]
--
-- >>> fromList [("hello",fromList [("world","!!!")])] & at "hello" . anon _Empty . at "world" .~ Nothing

0 comments on commit 3563e81

Please sign in to comment.
Something went wrong with that request. Please try again.