Re: boolean-array in clojure

2009-12-12 Thread Alex Osborne
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

Re: boolean-array in clojure

2009-12-12 Thread Sean Devlin
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

Re: boolean-array in clojure

2009-12-12 Thread Michael Wood
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

boolean-array in clojure

2009-12-12 Thread 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.core/boolean-array) does say that there is a boo