Created
October 2, 2015 17:57
-
-
Save elbrujohalcon/26799986258893d99021 to your computer and use it in GitHub Desktop.
One does not simply pattern match funs
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
3> Fun = fun() -> ok end, | |
3> Fun = fun() -> ok end. | |
** exception error: no match of right hand side value #Fun<erl_eval.20.54118792> | |
4> Fun = fun() -> ok end. | |
#Fun<erl_eval.20.54118792> | |
5> Fun = fun() -> ok end. | |
#Fun<erl_eval.20.54118792> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment