Last active
August 29, 2015 14:13
-
-
Save alco/b3dd32dd81b4b035dae9 to your computer and use it in GitHub Desktop.
This file contains 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
# OK | |
case [1,2,3] | |
|> Enum.reverse | |
do | |
_ -> :ok | |
end | |
# Syntax error | |
case | |
[1,2,3] | |
|> Enum.reverse | |
do | |
_ -> :ok | |
end |
This file contains 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
** (SyntaxError) case_test.exs:12: syntax error before: do | |
(elixir) lib/code.ex:316: Code.require_file/2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment