Created
January 8, 2019 01:31
-
-
Save Tombarr/9e091e97dfeea984baf631db926d9087 to your computer and use it in GitHub Desktop.
Pipe operator in Elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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