Michael Wood writes:
> I don't think boolean-array exists in 1.0. Try this instead:
>
> user=> (into-array Boolean [true true false true])
> #
>
> although that gives you an array of Booleans instead of booleans.
(into-array Boolean/TYPE [true false])
;; => #
--
You received this message beca
The boolean-array function is new in 1.1
Sean
On Dec 12, 12:37 pm, Michael Wood wrote:
> 2009/12/12 Amol Dharmadhikari :
>
>
>
>
>
> > Hi All,
>
> > Apologies for a newbie question:
>
> > I am trying to invoke some java libraries from clojure and some of the
> > methods take boolean arrays as th
2009/12/12 Amol Dharmadhikari :
> Hi All,
>
> Apologies for a newbie question:
>
> I am trying to invoke some java libraries from clojure and some of the
> methods take boolean arrays as their parameters.
>
> The documentation
> (http://richhickey.github.com/clojure/clojure.core-api.html#clojure.co
Hi All,
Apologies for a newbie question:
I am trying to invoke some java libraries from clojure and some of the
methods take boolean arrays as their parameters.
The documentation (
http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/boolean-array)
does say that there is a boo