Skip to content

Commit

Permalink
Merge pull request #163 from mitochon/patch-1
Browse files Browse the repository at this point in the history
State.hs :: revert back previous change
  • Loading branch information
tonymorris committed Oct 21, 2015
2 parents 9d80ad8 + 030dc1a commit b7f323f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Course/State.hs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ put =
-- >>> let p x = (\s -> (const $ pure (x == 'c')) =<< put (1+s)) =<< get in runState (findM p $ listh ['a'..'h']) 0
-- (Full 'c',3)
--
-- >>> let p x = (\s -> (const $ pure (x == 'i')) =<< put (1+s)) =<< get in runState (findM p $ listh ['a'..'h']) 8
-- >>> let p x = (\s -> (const $ pure (x == 'i')) =<< put (1+s)) =<< get in runState (findM p $ listh ['a'..'h']) 0
-- (Empty,8)
findM ::
Monad f =>
Expand Down

0 comments on commit b7f323f

Please sign in to comment.