Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- required context, here `return` is an alias to `identity`, so it has no effect
- -- this is not the `return` from Haskell
- pureFunction = do
- let x = length "some_arg"
- let y = foobar 42
- return (x + y)
Add Comment
Please, Sign In to add comment