Guest User

Untitled

a guest
Oct 10th, 2023
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. -- required context, here `return` is an alias to `identity`, so it has no effect
  2. -- this is not the `return` from Haskell
  3. pureFunction = do
  4. let x = length "some_arg"
  5. let y = foobar 42
  6. return (x + y)
Add Comment
Please, Sign In to add comment