This implies to me that hex numbers like 0xff should be accepted by
the reader, but they are not. Is this a bug or a misunderstanding on
my part?
Jim
--
Jim Menard, ji...@io.com, jim.m...@gmail.com
http://www.io.com/~jimm/
I'm using OS X 10.5 (Leopard). I can't figure out how to determine the
version of Clojure I am using from the command line, but I believe I'm
using the latest version 20080916.
Jim
--
The-Scrapyard (0)% java -cp clojure.jar clojure.lang.Repl
Clojure
user=> 0xff
255
user=> (+ 0xff 45)
300
user=> ^D
The-Scrapyard (0)% java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)
This on a TiBook, Mac OS X 10.4.11 with Clojure 20080916 and svn 1051.
-tree
--
Tom Emerson
trem...@gmail.com
http://www.dreamersrealm.net/~tree
The previous release (from June) did not support hexadecimal numbers.
Perhaps you're using that version?
I don't know how you tell what version of clojure you're using, but if you run:
jar tvf clojure.jar
all the files should have timestamps in September (mostly the 16th.)
--
Michael Wood <esio...@gmail.com>
The previous release (from June) did not support hexadecimal numbers.
The previous release (from June) did not support hexadecimal numbers.
The previous release (from June) did not support hexadecimal numbers.
The previous release (from June) did not support hexadecimal numbers.
The previous release (from June) did not support hexadecimal numbers.
> The previous release (from June) did not support hexadecimal numbers.
> Perhaps you're using that version?
You are correct; the files in my clojure.jar were all dated June 12,
2008. After downloading the latest version, all is well. Thank you for
your help.
> I don't know how you tell what version of clojure you're using, but if you run:
>
> jar tvf clojure.jar
>
> all the files should have timestamps in September (mostly the 16th.)
Perhaps a "--version" command line flag would be helpful.
Jim