Created
December 4, 2013 16:40
-
-
Save AeroNotix/7790837 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
-module(e). | |
-define(YO, 123). | |
-define(YO2, 10). | |
-compile([export_all, debug_info]). | |
f() -> | |
case 123 of | |
A -> | |
A; | |
B -> | |
B | |
end. | |
h(123) -> | |
ok; | |
h(123) -> | |
notok. | |
g() -> | |
case 123 of | |
123 when 123 =:= ?YO andalso 123 =/= ?YO2 -> | |
ok; | |
123 when 123 =:= ?YO andalso 123 =/= ?YO2 -> | |
notok | |
end. | |
r(123) when 123 =:= ?YO andalso 123 =/= ?YO2 -> | |
ok; | |
r(123) when 123 =:= ?YO andalso 123 =/= ?YO2 -> | |
notok. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment