a guest Jun 20th, 2019 49 Never
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)
RAW Paste Data