Created
August 24, 2018 10:04
-
-
Save shiro01/167ef32bd65b611f8f3a378c6645ccac to your computer and use it in GitHub Desktop.
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
iex(24)> 1 or true | |
** (BadBooleanError) expected a boolean on left-side of "or", got: 1 | |
iex(19)> 1 and true | |
** (BadBooleanError) expected a boolean on left-side of "and", got: 1 | |
iex(19)> true and 1 | |
1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment