Skip to content

Instantly share code, notes, and snippets.

@Tombarr
Created January 8, 2019 01:31
Show Gist options
  • Save Tombarr/9e091e97dfeea984baf631db926d9087 to your computer and use it in GitHub Desktop.
Save Tombarr/9e091e97dfeea984baf631db926d9087 to your computer and use it in GitHub Desktop.
Pipe operator in Elixir
"war"
|> String.upcase
|> String.split("")
|> Enum.reverse
|> Enum.join("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment