Skip to content

Instantly share code, notes, and snippets.

@rogeriochaves
Created November 24, 2015 01:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogeriochaves/8c51b20bb2e6dd553089 to your computer and use it in GitHub Desktop.
Save rogeriochaves/8c51b20bb2e6dd553089 to your computer and use it in GitHub Desktop.
pipe operator in haskell, very simple
x |> f = f x
something x = repeat x
|> filter (> 3)
|> map (+ 1)
|> take 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment