Skip to content

Commit

Permalink
Get tests passing for anon
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Mar 29, 2013
1 parent eeeb981 commit 3563e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Control/Lens/Iso.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3563e81

Please sign in to comment.