Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- when :: Bool -> IO () -> IO ()
- when condition action world =
- if condition
- then action world
- else ((), world)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement