Created
July 15, 2009 20:24
-
-
Save agiliq/147958 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
Clojure 1.0.0- | |
user=> nil | |
nil | |
user=> (== 10 10) | |
true | |
user=> (== nil 10) | |
java.lang.NullPointerException (NO_SOURCE_FILE:0) | |
user=> (== 10 nil) | |
java.lang.NullPointerException (NO_SOURCE_FILE:0) | |
user=> (> nil 10) | |
java.lang.NullPointerException (NO_SOURCE_FILE:0) | |
user=> (< nil 10) | |
java.lang.NullPointerException (NO_SOURCE_FILE:0) | |
user=> (< 2 3) | |
true | |
user=> (> 2 3) | |
false | |
user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment