Created
July 23, 2013 10:36
-
-
Save pjstadig/6061459 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
paul@jane:~$ clojure | |
Clojure 1.5.1 | |
user=> (set! *warn-on-reflection* true) | |
true | |
user=> (let [x (apply byte-array [1])] (alength x)) | |
Reflection warning, NO_SOURCE_PATH:2:33 - call to alength can't be resolved. | |
1 | |
user=> (let [x ^bytes (apply byte-array [1])] (alength x)) | |
1 | |
user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment