Re: Clojure/EPL and the GPL

2009-08-29 Thread Meikel Brandmeyer
Hi, Am 29.08.2009 um 00:58 schrieb Daniel Renfer: perhaps this link in the FAQ for the EPL will clear things up. http://www.eclipse.org/legal/eplfaq.php#USEINANOTHER Wow! All but one of my Clojure projects are illegal! (They are all MIT licensed...) But I hope, that this link doesn't app

Re: Clojure/EPL and the GPL

2009-08-29 Thread Laurent PETIT
Meikel, the situation is certainly not as bad as you think. What the "USEINANOTHER" url link states (as far as I understand) is for people for take the source coce, and RELICENSE it, changing the header and pretending that from the fork point it can be handled by another license. This indeed seems

Re: Clojure/EPL and the GPL

2009-08-29 Thread Tassilo Horn
Meikel Brandmeyer writes: Hi! >> perhaps this link in the FAQ for the EPL will clear things up. >> >> http://www.eclipse.org/legal/eplfaq.php#USEINANOTHER > > Wow! All but one of my Clojure projects are illegal! (They are all MIT > licensed...) Yep, but I think this doesn't apply. We wouldn't

Re: Order of keys within a map?

2009-08-29 Thread Christophe Grand
On Sat, Aug 29, 2009 at 3:19 AM, Travis wrote: > Is the number 8 just a magic number? Can it be changed with an > environment variable or system variable or binding? I would definitely > like to. You can't change it. Clojure's ArrayMap is really designed for a small number of kv pairs (eg no st

Re: Clojure/EPL and the GPL

2009-08-29 Thread Garth Sheldon-Coulson
Another option Rich could consider for Clojure is the Mozilla tri-license (GPL/LGPL/MPL). http://www-archive.mozilla.org/MPL/relicensing-faq.html The tri-license would remove any lingering ambiguity about building GPLed Clojure projects. But actually I believe the status quo is already quite per

Re: Why doesn't regex implement ifn?

2009-08-29 Thread eyeris
I have the same urge, to want to use regexps as predicates. However I definitely would not like to read such code. I can only imagine having to try to read such code if I didn't understand regexps. E.g. (filter #"\d+" maybe-numbers) is clear enough to someone who understands regexps. However (filt

Re: Clojure/EPL and the GPL

2009-08-29 Thread Tassilo Horn
Garth Sheldon-Coulson writes: Hi Garth, > Another option Rich could consider for Clojure is the Mozilla > tri-license (GPL/LGPL/MPL). > > http://www-archive.mozilla.org/MPL/relicensing-faq.html > > The tri-license would remove any lingering ambiguity about building > GPLed Clojure projects. Wh

Re: Clojure/EPL and the GPL

2009-08-29 Thread Daniel
On Sat, Aug 29, 2009 at 3:52 PM, Garth Sheldon-Coulson wrote: > Another option Rich could consider for Clojure is the Mozilla tri-license > (GPL/LGPL/MPL). > > http://www-archive.mozilla.org/MPL/relicensing-faq.html > > The tri-license would remove any lingering ambiguity about building GPLed > Cl

Re: Clojure/EPL and the GPL

2009-08-29 Thread rb
On Aug 28, 4:18 pm, Matthias Benkard wrote: > On 28 Aug., 13:42, Tassilo Horn wrote: > > > I have a licensing question.  Am I allowed to include clojure.jar in a > > GPL project? > > IANAL, but if I understand the GPL correctly, it prohibits you from > distributing a GPL-covered programme that

Re: Clojure/EPL and the GPL

2009-08-29 Thread John Harrop
This is a problem. The GPL is a very popular open source license. If a language does not permit developers to use the GPL, that language may be severely reducing the number of developers willing to adopt it. It would be desirable for clojure.lang and clojure.core to use a modified license, somethi

Re: Clojure/EPL and the GPL

2009-08-29 Thread Rich Hickey
This has been discussed as nauseam before: http://groups.google.com/group/clojure/browse_frm/thread/6e99caafcf2bbedf/b5519cc219a5baeb Nothing has changed, so let's give it a rest, please. Rich On Sat, Aug 29, 2009 at 4:11 AM, John Harrop wrote: > This is a problem. > The GPL is a very popular

Re: Clojure/EPL and the GPL

2009-08-29 Thread Garth Sheldon-Coulson
On Sat, Aug 29, 2009 at 12:00 PM, Rich Hickey wrote: > > This has been discussed as nauseam before: Ah, so it has. Fair enough. > > > > http://groups.google.com/group/clojure/browse_frm/thread/6e99caafcf2bbedf/b5519cc219a5baeb > > Nothing has changed, so let's give it a rest, please. > > Ric

Searching the group archives

2009-08-29 Thread Rich Hickey
While the "Search this group" interface seems increasingly anemic, and time-limited in its results, you can get an effective search on the group archives using the advanced search: http://groups.google.com/advanced_search?q=&; Just select google groups and put clojure as the group. Rich --~--~

Re: Searching the group archives

2009-08-29 Thread Daniel
On Sun, Aug 30, 2009 at 1:54 AM, Rich Hickey wrote: > > While the "Search this group" interface seems increasingly anemic, and > time-limited in its results, you can get an effective search on the > group archives using the advanced search: > > http://groups.google.com/advanced_search?q=&; > > Jus

When to use macros

2009-08-29 Thread ronen
In a lot of cases its seems that macros are used even when a function can do the same task, Macros seems to be less readable than their functional counterparts & more complex to write (to me at least). Its clear that there are special cases in which macros are the perfect solution (like partial e

Re: Clojure/EPL and the GPL

2009-08-29 Thread Phil Hagelberg
Tassilo Horn writes: >> But actually I believe the status quo is already quite permissive. >> The fact that Clojure is EPLed doesn't mean you can't write GPLed apps >> using it.* The EPL-GPL incompatibility bites you only when you try to >> GPL something that is a "derivative work" of Clojure. >

Re: Clojure/EPL and the GPL

2009-08-29 Thread John Harrop
On Sat, Aug 29, 2009 at 12:00 PM, Rich Hickey wrote: > > This has been discussed as nauseam before: > > > http://groups.google.com/group/clojure/browse_frm/thread/6e99caafcf2bbedf/b5519cc219a5baeb > > Nothing has changed, so let's give it a rest, please. This may be a tempest in a tea-pot, at l

Re: Significant isa? / multimethod optimization opportunity

2009-08-29 Thread Chas Emerick
On Aug 28, 2009, at 10:57 PM, Chas Emerick wrote: > > In the course of doing some profiling tonight, I hit on a hotspot in > some particularly multimethod- and isa?-heavy code. It didn't take me > long to find that the bases and supers support fns for isa? were at > the root of the issue, with

Re: Significant isa? / multimethod optimization opportunity

2009-08-29 Thread Rich Hickey
On Aug 28, 10:57 pm, Chas Emerick wrote: > In the course of doing some profiling tonight, I hit on a hotspot in   > some particularly multimethod- and isa?-heavy code.  It didn't take me   > long to find that the bases and supers support fns for isa? were at   > the root of the issue, with base

help with clojure + slime

2009-08-29 Thread mlm
I'm using clojure version: Clojure 1.1.0-alpha-SNAPSHOT and I'm trying to get slime and clojure to work on OS X. slime works with my sbcl install without any problems. I installed all of the packages and I'm getting an error while starting slime - clojure: 1. I go into clojure mode (M-x clojur

Clojure for game programming?

2009-08-29 Thread Elliott Slaughter
Hi, I'm visiting from the Common Lisp game-dev crowd and wanted to try out Clojure for writing games. I saw some JOGL examples posted in this group, in addition to the cloggle library which wraps some JOGL functionality. Cloggle is pretty thin right now and uses glFunctionNames as they are, so I

Re: Clojure for game programming?

2009-08-29 Thread Stuart Sierra
On Aug 30, 12:01 am, Elliott Slaughter wrote: > If anyone has suggestions on simulating interactions between trees of > objects (especially on the Clojure way to do it), I'd appreciate it. Check out Clojure Agents. A bunch of agents can interact by sending messages, in a style similar to a grap

Re: How to migrate definitions to another namespace ?

2009-08-29 Thread Adrian Cuthbertson
> Is there a way to unregister some names from a namespace without reloading it > ? This is a bit trickier than one might think. An example illustrates this; Given two files, a.clj... (ns a) (defn stuff-a [] :stuff-a) (defn hello [] :hello) And b.clj... (ns b) (defn stuff-b [] :stuff-b) Say w