Re: Improved Maven Build

2008-12-03 Thread ivant
On Dec 3, 3:05 pm, "Rich Hickey" <[EMAIL PROTECTED]> wrote: > On Wed, Dec 3, 2008 at 1:05 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > > > I've created a patch for the clojure source that does the following: > > > - Adds a minimal site build, with links to the main Clojure web site > > (

Re: Improved Maven Build

2008-12-05 Thread ivant
I remember reading somewhere[1], that we can actually run ant from maven. It just occurred to me, that we can build the pom with groupId, artifactId and version, which actually uses ant for the build. This way the builds will be identical and we'll only have to update the version in the pom. I

Re: Improved Maven Build

2008-12-10 Thread ivant
On Dec 5, 10:48 am, ivant <[EMAIL PROTECTED]> wrote: > I don't have the time right now, but I can try to build the pom in the > weekend. Alas, my maven-fu is not good enough to do that. --~--~-~--~~~---~--~~ You received this message because you

Re: Functional programming newbie question

2008-12-13 Thread ivant
On Dec 13, 4:51 am, levand wrote: > So, I'm trying to understand functional programming, particularly as > it relates to the seq abstraction, and I'm hitting a slight difficulty > as I'm playing around - something that seems as if it ought to be > simple, is not. > > I'm playing with copying one

Re: Functional programming newbie question

2008-12-13 Thread ivant
On Dec 13, 4:11 pm, levand wrote: > Right... I realize there is absolutely no need to actually do this, it > was more of an exercise in understanding ways to iterate over seqs. > For example, I might want to do something else than a straight copy. map is a good way to iterate over seq. E.g. (m

Re: Compiling Clojure code with Maven

2009-01-04 Thread ivant
On Dec 31 2008, 4:49 pm, "Mike DeLaurentis" wrote: > I'm working on a project that has both Java and Clojure sources. We > use Maven as our build system, and I'd like to use it to compile the > Clojure sources. Has anyone done that before? I can think of a few > ways to do it, such as using maven

Re: Mysterious performance anomalies

2009-01-20 Thread ivant
On Jan 20, 3:14 am, e wrote: > That's a solid arg, too . . . but it would be stronger if we weren't > importing things from java all the time.  If we said like, "(gui-frame > "hello"), which happened to be implemented as a JFrame . . . then that'd be > even stronger.  Drop in a different REPL and

Re: Turning a sequence of chars into a string.

2009-01-28 Thread ivant
On Jan 26, 1:31 am, "Stephen C. Gilardi" wrote: > The usual way to do this is with "(apply str ...)" > I just wonder if there is a limit to how long the sequence can be, because apply should use the Java calling stack, right? -- Ivan --~--~-~--~~~---~--~~ You rec

Re: Tail calls in OpenJDK

2009-01-28 Thread ivant
On Jan 24, 5:31 am, hughw wrote: > A fellow named Arnold Schwaighofer is hacking in TCO as a thesis > project: > > http://mail.openjdk.java.net/pipermail/mlvm-dev/2009-January/000331.html At first I read his name as "Arnold Schwarzenegger". Now that would be cool! :D --~--~-~--~~---

Re: Turning a sequence of chars into a string.

2009-02-01 Thread ivant
On Jan 28, 3:19 pm, Timothy Pratley wrote: > > I just wonder if there is a limit to how long the sequence can be, > > because apply should use the Java calling stack, right? > > str is only called once, with many arguments: > user=> (apply str (range 1)) > > Only limit is total memory (like a

Re: offtopic - where are you come from? (poll)

2008-11-19 Thread ivant
On Oct 17, 11:27 am, "Rastislav Kassak" <[EMAIL PROTECTED]> wrote: > Hello Clojurians, > > So wherever are you come from, be proud and say it. Sofia, Bulgaria --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure"

Re: Updated version of the ported gears demo

2008-12-01 Thread ivant
On Dec 1, 9:23 am, "Andrew P. Lentvorski, Jr." <[EMAIL PROTECTED]> wrote: > I'd really like some folks to take a look at the "gl-beg-end" macro. > It took me *way* too long to figure out how to update that. I'd suggest to update it with the following version: (defmacro with-gl [gl mode & body]

Re: Updated version of the ported gears demo

2008-12-01 Thread ivant
On Dec 1, 5:37 pm, mehrheit <[EMAIL PROTECTED]> wrote: > On Mon, 1 Dec 2008 06:53:47 -0800 (PST) > > ivant <[EMAIL PROTECTED]> wrote: > > > On Dec 1, 9:23 am, "Andrew P. Lentvorski, Jr." <[EMAIL PROTECTED]> > > wrote: > > > (defmacro wi

Re: Updated version of the ported gears demo

2008-12-01 Thread ivant
On Dec 1, 7:48 pm, mehrheit <[EMAIL PROTECTED]> wrote: > On Mon, 1 Dec 2008 08:37:22 -0800 (PST) > > ivant <[EMAIL PROTECTED]> wrote: > > >You are generally right about this, but not in this case.  This macro > >*explicitly* captures the variable "gl&quo