Re: gen-class & bytecode for method implementation

2009-07-27 Thread Mark Addleman
I'm not familiar with declaring inline functions, though I've seen (definline) in the docs (I think it's still marked experimental). If it does what I think it does, it's still not going to solve the problem, though. It looks like all defined methods are just stubs that delegate to functions hel

Re: gen-class & bytecode for method implementation

2009-07-27 Thread John Harrop
On Mon, Jul 27, 2009 at 3:37 PM, Mark Addleman wrote: > > I have written some Clojure code to implement java.lang.CharSequence > that is constructed with a length and an ISeq of strings. I need this > because I want to pass the resulting CharSequence into Java's regex > library. I got the thing

Re: gen-class & bytecode for method implementation

2009-07-27 Thread John Newman
Clojure! Not *'clothier.'* :) On Tue, Jul 28, 2009 at 5:05 AM, wlr wrote: > > On Jul 27, 8:25 pm, John Newman wrote: > > I'm new to Clojure so bare with me, > > Sorry, can't resist... you must be seeking the naked truth. :-) > > > -- John --~--~-~--~~~---~--~--

Re: gen-class & bytecode for method implementation

2009-07-27 Thread wlr
On Jul 27, 8:25 pm, John Newman wrote: > I'm new to Clojure so bare with me, Sorry, can't resist... you must be seeking the naked truth. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: gen-class & bytecode for method implementation

2009-07-27 Thread John Newman
I'm new to Clojure so bare with me, but I'm trying to figure out what it does... Is it doing something like this: user=> (apply pr (.split #"\n" (str "hello\n" "world\n"))) "hello" "world"nil Or do you want those concatenated? Or is that too slow? On Tue, Jul 28, 2009 at 12:07 AM, Mark Addlema

gen-class & bytecode for method implementation

2009-07-27 Thread Mark Addleman
I have written some Clojure code to implement java.lang.CharSequence that is constructed with a length and an ISeq of strings. I need this because I want to pass the resulting CharSequence into Java's regex library. I got the thing working (thanks to the docs and some good examples that I found