Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active November 30, 2017 14:08
Show Gist options
  • Save deque-blog/49293860705590ad58437f45ad144060 to your computer and use it in GitHub Desktop.
Save deque-blog/49293860705590ad58437f45ad144060 to your computer and use it in GitHub Desktop.
parens : String -> String
parens s = "(" ++ s ++ ")"
-- In the REPL:
parens "Hello"
> "(Hello)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment