Re: new learner question

2016-05-23 Thread Dan Girellini
On May 23, 2016 at 6:10:46 PM, Phil Virgo (pwvi...@gmail.com) wrote: (take-while #(= (first %) %) s) ; IllegalArgumentException Don't know how to create ISeq from: java.lang.Long clojure.lang.RT.seqFrom (RT.java:505) Your problem is that take-while will call the predicate for each item in the

Re: Porting Clojure to Native Platforms

2016-04-25 Thread Dan Girellini
Not knowing the problem you’re specifically trying to solve, would using using the GNU java compiler work to take byte code to native? On April 25, 2016 at 12:47:37 PM, JvJ (kfjwhee...@gmail.com) wrote: I've been wondering lately about getting Clojure to compile to native code, and so I've b

Re: style question on tightly coupled functions

2014-11-20 Thread Dan Girellini
Using letfn allows the local functions to reference each other arbitrarily. In your example, f2 can call f1 but not vice versa. On Thu, Nov 20, 2014 at 11:08 AM, Alex Baranosky < alexander.barano...@gmail.com> wrote: > letfn has no value imo. It is an unwritten stylistic rule I have to never > us