Re:The state of the Scala website and documentation
by cutler on Monday October 17, 2016 @06:47PM
(#12730517)
I said "dip into", not "dive into" and by dip into I meant discovering I needed Java rather than a Clojure function.
[ Parent
| on HN ]
Re:The state of the Scala website and documentation
by amelius on Monday October 17, 2016 @07:24PM
(#12730740)
I didn't mean to offend you. I don't know Clojure or Java, and was just wondering why you need to look into the internals of Clojure for something as basic as parseInt.
Re:The state of the Scala website and documentation
by jakebasile on Monday October 17, 2016 @08:00PM
(#12730927)
Clojure.core doesn't have a parse integer function. You use Java interop to get one. It's as simple as '(Integer/parseInt "42")'
Re:The state of the Scala website and documentation
by puredanger on Friday October 21, 2016 @11:05AM
(#12761020)
You can use the built-in read-string too to generically read a string as Clojure data: `(read-string "42")`