Re: Ruby = Clojure for Enumerable and Array

2008-10-17 Thread mb
Hi, On 17 Okt., 00:14, Mark McGranaghan [EMAIL PROTECTED] wrote: When I first started working with Clojure a while back I tried to get my bearings by figuring out how to do some basic things in Clojure that I had previously done in Ruby.  With all the recent talk about the seq api, I thought

Re: recur question

2008-10-17 Thread michael frericks
Hi all, thanks a lot for clarifying. Regards, Michael Frericks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this

Re: Clojure's first year

2008-10-17 Thread AlamedaMike
Thanks for a great language, Rich. Here's to broad acceptance! Mike On Oct 17, 12:09 am, Paul Drummond [EMAIL PROTECTED] wrote: Congratulations Rich! I remember when Clojure was first announced (it doesn't feel like a year ago!)  it was like a breath of fresh air! It was during a time when

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

2008-10-17 Thread Michael Beauregard
Calgary, Canada On Fri, Oct 17, 2008 at 3:27 AM, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :)

Re: Clojure's first year

2008-10-17 Thread Paul Stadig
Congratulations, Rich! I have very bright hopes for Clojure's future. It came at the right time. I know there were/are lots of other people thinking about how Lisp could be reinvented. I had thought a lot about what I would want, and lo and behold nearly all of it is in Clojure. Also when you

Clojure init class loader

2008-10-17 Thread Iwan van der Kleijn
I am working on a Clojure plugin for jEdit. Currently you can use Clojure source as jEdit macros and evaluate source directly from a buffer. Next step is the incorporation of a REPL. The first try proved to be a bit more troublesome than I had expected. Apart from me being wrong footed by jEdit´s

Lispy Groovy

2008-10-17 Thread Jazun
Check out this Lispy Groovy Sexp like stuff: http://blackdragsview.blogspot.com/2006/08/beyond-groovy-10-groovy-goes-lisp.html It uses anonymous code blocks. Groovy calls them closures, but I read somewhere that they aren't real closures. If you every choose to use some groovy libraries,

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

2008-10-17 Thread Mikael Hall
I'm from sweden. Mikael Hall 2008/10/17 Rastislav Kassak [EMAIL PROTECTED] Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :) RK --

Re: Clojure's first year

2008-10-17 Thread Toralf Wittner
Thank you Rich for all the work you have put into Clojure. I am using this language ever since I heard of it in December last year. And it really is a joy to use. I have no doubts that Clojure's second year will be as good as the first one if not better. Cheers, Toralf

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

2008-10-17 Thread Paul Drummond
Sunderland, UK. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

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

2008-10-17 Thread Christian Vest Hansen
Copenhagen, Denmark. On Fri, Oct 17, 2008 at 11:27 AM, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from

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

2008-10-17 Thread mb
Frankfurt am Main, Germany --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: Clojure's first year

2008-10-17 Thread Michael Beauregard
I can't tell you how underwhelmed I was when Arc was announced. Conversely, for each moment I spend with Clojure I am inspired by its genius. I'm convinced that Clojure is the Arc that everyone was hoping for. Thanks for you hard work and dedication, Rich. Michael

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

2008-10-17 Thread Graham Fawcett
Windsor, Ontario, Canada. (Just down the road, Mark!) Graham --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this

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

2008-10-17 Thread [EMAIL PROTECTED]
Santiago, Chile. On Oct 17, 6:27 am, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :) RK

Re: Clojure init class loader

2008-10-17 Thread Rich Hickey
On Oct 17, 9:01 am, Stuart Halloway [EMAIL PROTECTED] wrote: I haven't looked at the jEdit source, but the whole *purpose* of the context loader is to avoid having to have explicit configuration APIs for class loaders. It sounds like it would make more sense to patch jEdit to set the

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

2008-10-17 Thread Parth Malwankar
On Oct 17, 2:27 pm, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :) RK Bangalore, India.

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

2008-10-17 Thread Weiqi Gao
Rastislav Kassak wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :) St. Louis, MO, USA -- Weiqi Gao [EMAIL PROTECTED]

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

2008-10-17 Thread J. McConnell
Western Mass., U.S. On Fri, Oct 17, 2008 at 9:14 AM, Parth Malwankar [EMAIL PROTECTED] wrote: On Oct 17, 2:27 pm, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So

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

2008-10-17 Thread AlamedaMike
Alameda (an island in San Francisco Bay), California, USA --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group,

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

2008-10-17 Thread Chouser
On Fri, Oct 17, 2008 at 5:27 AM, Rastislav Kassak [EMAIL PROTECTED] wrote: So wherever are you come from, be proud and say it. Indiana, U.S.A. --Chouser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure

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

2008-10-17 Thread Jim Menard
On Fri, Oct 17, 2008 at 5:27 AM, Rastislav Kassak [EMAIL PROTECTED] wrote: So wherever are you come from, be proud and say it. I'm from Slovakia. :) Connecticut, USA Jim -- Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.io.com/~jimm/

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

2008-10-17 Thread Jon
Oslo, Norway --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

Re: Ruby = Clojure for Enumerable and Array

2008-10-17 Thread Mark McGranaghan
Thanks for the feedback. I have: - Added references to the new clojure/remove and removed the old custom implementation - Added notes about the differences between Enumerable#min/max and clojure/min, /max (the former act on an arbitrary collection, the latter on separate numerical args) -

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

2008-10-17 Thread fyuryu
I'm from Żory, Poland. Roland --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL

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

2008-10-17 Thread John Hodge
Charlottesville, Virginia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: Clojure's first year

2008-10-17 Thread Mark H.
On Oct 17, 4:09 am, Paul Stadig [EMAIL PROTECTED] wrote: One of the things that I have always thought was crucial to creating a new Lisp (or any language really) is a Benevolent Dictator. I like the fact that you have a strong vision, and although you are very open to suggestions, you are

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

2008-10-17 Thread Allen Rohner
On Oct 17, 4:27 am, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. Austin, Texas Allen

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

2008-10-17 Thread verec
French expat, London, UK On Oct 17, 10:27 am, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :)

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

2008-10-17 Thread Martin DeMello
On Oct 17, 2:27 am, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. India martin

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

2008-10-17 Thread Daniel Renfer
Michigan, USA On Fri, Oct 17, 2008 at 5:27 AM, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :)

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

2008-10-17 Thread Sean Spencer
On Fri, Oct 17, 2008 at 5:27 AM, Rastislav Kassak [EMAIL PROTECTED]wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. Somerville, Massachusetts, USA. First

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

2008-10-17 Thread Christopher Taylor
another German here, but from Berlin :) On 17.10.2008, at 14:07, mb wrote: Frankfurt am Main, Germany --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

should (test ...) resolve symbols?

2008-10-17 Thread Stuart Halloway
I was surprised to find that test does not resolve symbols into Vars: ; don't do this (test 'foo) - :no-test ; do this (test #'foo) - :ok Is there a conceptual reason that test should not resolve symbols into Vars? --~--~-~--~~~---~--~~ You received this

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

2008-10-17 Thread Abhishek Reddy
Auckland, New Zealand. On 10/18/08, Shawn Hoover [EMAIL PROTECTED] wrote: On Fri, Oct 17, 2008 at 2:27 AM, Rastislav Kassak [EMAIL PROTECTED]wrote: So wherever are you come from, be proud and say it. Indianapolis, Indiana USA -- Abhishek Reddy http://abhishek.geek.nz

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

2008-10-17 Thread bc
I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. Vancouver, Canada --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: recur question

2008-10-17 Thread wwmorgan
I think Stewart's code was more for exemplary purposes, to demonstrate the use of recur in tail position. A more idiomatic approach might look like this: (defn factorial [n] (apply * (range 1 (inc n On Oct 17, 12:43 pm, Joel L [EMAIL PROTECTED] wrote: This is interesting as I hit a

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

2008-10-17 Thread Barry
Birmingham, UK Barry On Oct 17, 10:27 am, Rastislav Kassak [EMAIL PROTECTED] wrote: Hello Clojurians, I think after 1st year of Clojure life it's good to check how far has Clojure spread all over the world. So wherever are you come from, be proud and say it. I'm from Slovakia. :) RK

Re: splat operator

2008-10-17 Thread Michel Salim
On Thu, Oct 16, 2008 at 8:13 PM, Timothy Pratley [EMAIL PROTECTED] wrote: Maybe something along these lines? (defn myreplace [str [a b]] (.replace str a b)) (myreplace target search-replace) - heo world Clojure's ML/Haskell-style deconstructing of sequences takes a while to sink in -- I

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

2008-10-17 Thread Joel L
London, UK (Canadian expat) On Oct 17, 8:05 pm, Stewart Griffin [EMAIL PROTECTED] wrote: Birmingham, UK too :) On 17/10/2008, Barry [EMAIL PROTECTED] wrote:  Birmingham, UK  Barry  On Oct 17, 10:27 am, Rastislav Kassak [EMAIL PROTECTED] wrote:   Hello Clojurians,   I think

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

2008-10-17 Thread soyrochus
So wherever are you come from, be proud and say it. Dutch expat, living in Valencia, Spain --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

More Concise flatten, separate

2008-10-17 Thread Mark McGranaghan
Now that we have remove (and sequential?), perhaps we should redefine flatten and separate: (defn flatten Takes any nested combination of sequential things (lists, vectors, etc.) and returns their contents as a single, flat sequence. [x] (remove sequential? (tree-seq sequential? seq x)))

Re: splat operator

2008-10-17 Thread Martin DeMello
On Oct 16, 5:13 pm, Timothy Pratley [EMAIL PROTECTED] wrote: Maybe something along these lines? (defn myreplace [str [a b]]   (.replace str a b)) (myreplace target search-replace) - heo world Same problem - it doesn't work within a doto block. This is where JRuby-style reopening of the

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

2008-10-17 Thread Tom Emerson
Worcester, Massachusetts, USA Sent from Gmail for mobile On 10/17/08, soyrochus [EMAIL PROTECTED] wrote: So wherever are you come from, be proud and say it. Dutch expat, living in Valencia, Spain -- Sent from Gmail for mobile | mobile.google.com Tom Emerson [EMAIL PROTECTED]

Re: should (test ...) resolve symbols?

2008-10-17 Thread Stuart Sierra
Oct 17, 12:33 pm, Stuart Halloway [EMAIL PROTECTED] wrote: ; do this (test #'foo) - :ok Is there a conceptual reason that test should not resolve symbols into Vars? Maybe to make it easier to enumerate over vars, as with ns-interns. I took the same approach.with test-var in

Re: Clojure's first year

2008-10-17 Thread Stuart Sierra
I saw one of the first public presentations of Clojure, at LispNYC. I remember thinking at the time, Yes, this is a Lisp that makes sense. I was pretty surprised when my blog post hit Reddit, and frankly even more surprised that the language attracted adherents so quickly. I mean, it's *Lisp*,

Re: Suggest two argument into-array with explicit type

2008-10-17 Thread Stephen C. Gilardi
On Oct 17, 2008, at 7:59 PM, Rich Hickey wrote: Patch applied (SVN 1074) - thanks! Thanks! --Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

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

2008-10-17 Thread Ande Turner
Dunedin, Otago, NEW ZEALAND 2008/10/18 Craig McDaniel [EMAIL PROTECTED] also from Atlanta, Georgia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

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

2008-10-17 Thread Brett Morgan
Sydney, Australia On Sat, Oct 18, 2008 at 3:58 PM, Ande Turner [EMAIL PROTECTED] wrote: Dunedin, Otago, NEW ZEALAND 2008/10/18 Craig McDaniel [EMAIL PROTECTED] also from Atlanta, Georgia -- Brett Morgan http://brett.morgan.googlepages.com/