[Format recovered from top posting.]
On Mon, 29 Mar 2010 17:36:42 -0400 Aaron Cohen wrote:
> On Mon, Mar 29, 2010 at 5:24 PM, Phil Hagelberg wrote:
> > On Sat, Mar 27, 2010 at 9:55 PM, Mike Meyer
> > wrote:
> >> 5) Can I distribute a jar file for my Clojure project under the GPL?
> >>
> >> No.
Brent Millare writes:
> Can someone please elaborate on this subclassloader process? Although
> the design for leiningen is architecturally simple and understandable
> and thus easy to extend, I'm still quite unfamiliar with the "java
> way". I believe a little documentation on this aspect can ma
On Mar 27, 11:55 pm, Mike Meyer wrote:
> But if
> you're serious about this, you need to talk to a real copyright
> lawyer.
This is the only correct answer to the OP's question.
Don't take legal advice from random people on a newsgroup.
--
You received this message because you are subscribed t
If you're distributing the jar file you own copyright to it and you
can grant any kind of permissions you want. So you may need to grant
your user's explicit permission to link your code against specific
jars (such as Clojure and Clojure-Contrib), but it's hardly
impossible.
The GPL v3 has a speci
On Sat, Mar 27, 2010 at 9:55 PM, Mike Meyer
wrote:
> 5) Can I distribute a jar file for my Clojure project under the GPL?
>
> No. When you compile your code, code from clojure (and clojure-contrib
> if you use it) will be included in the resulting jar file. In
> particular, any macros you use will
Error messages could certainly be better, and please call my attention
to any patches to this effect that have not gotten their due attention.
The particular error message in question here comes from Java, and is
more informative on more recent versions of Java. I get:
java.lang.ClassCastEx
Hello,
a colleague of mine asked me a question about clojures set
implementation performance. He needed an immutable set on the jvm
platform for a Java/Scala project, and since I've been saying that
Clojures data structures have good performance he tried clojures set.
He was dissapointed though :-(
But that doesn't address the fundamental lack of useful information in
the error messages, which is something I've noticed as well. The
compiler could stand to be a bit friendlier in this regard..
On Mon, Mar 29, 2010 at 3:55 PM, Stuart Halloway
wrote:
> One nice thing about Clojure is that dou
One nice thing about Clojure is that double-parenthesized ((anything))
is usually wrong.
Stu
Hi,
On Mon, Mar 29, 2010 at 11:23:29AM -0700, strattonbrazil wrote:
(import '(javax.swing JTable) '(javax.swing.table TableModel))
(def table (new JTable((proxy [TableModel] []
Hi,
On Mon, Mar 29, 2010 at 11:23:29AM -0700, strattonbrazil wrote:
> (import '(javax.swing JTable) '(javax.swing.table TableModel))
> (def table (new JTable((proxy [TableModel] []
> (getColumnCount [] 10)
> (getRowCount [] 10)
>
In the relatively short time of using clojure, I'm a little frustrated
with it's limited information the stack provides. I'm assuming
there's something I just don't know or am not doing. Many times when
I do something wrong, I have to read through the stack which sometimes
just says there's an er
> Please note that actually def'ing each value is not what you're
> supposed to do :) def is reserved for global constants and dynamically
> rebindable variables, and redefing an existing variable is considered
> bad style.
The def was for legibility (or I was going for legibility). Speaking
of r
Can someone please elaborate on this subclassloader process? Although
the design for leiningen is architecturally simple and understandable
and thus easy to extend, I'm still quite unfamiliar with the "java
way". I believe a little documentation on this aspect can make a
significant improvement in
It took me a while to find time to try again.
I now removed any dependency to incanter - the problem obviousely
hasn't to do with it.
So I "moved" the request to the plugin group.
Kevin, thank you for you response, it wasnt "noise" at all ;-)
Regards, alux
On 23 Mrz., 04:58, "Kevin" wrote:
>
On Mar 29, 8:56 am, Steven Devijver wrote:
> Thanks for your reply. I understand there are more clojure-ish ways
> then to use Java interfaces, but I take from your answer that using
> Java interface with gen-class won't introduce technical issues.
It's possible, but Clojure isn't designed to wor
On 29 mrt, 09:43, Jarkko Oranen wrote:
> Interfaces are good, but defining your own is mainly reserved for Java
> interop. You should strive to use plain old untyped data structures
> for your data, ie. just put things in maps, vectors, sets andl lists.
> Write (pure) functions to transform the
Hi Steven,
Skip interfaces and gen-class, and look instead at protocols and
types. There is a simple example [1] in the labrepl [2]. (You will
need to be on Clojure 1.2 bits, which labrepl does for you, and you
should do in any case.)
I think people will use protocols less frequently than
Ewps. My bad. I was thinking of mirrors, not a general proxy. However, the
profiles route would probably help as well.
http://maven.apache.org/settings.html#Profiles
Basically, by moving configuration settings inside a profile, it's like
having two settings.xml files that can be turned on/o
On Mar 29, 1:26 am, strattonbrazil wrote:
> Is this the common way to do it?
>
> (def sister (assoc brother :name "Cindy"))
>
Please note that actually def'ing each value is not what you're
supposed to do :) def is reserved for global constants and dynamically
rebindable variables, and redefing
On 29.03.2010, at 08:24, Mark Derricutt wrote:
> Why do you need to edit the settings twice a day? Strikes me as a problem.
> You could move the relevant settings into a which is only
> activated based on network/env settings, so those changes are automatic?
What I found about proxy configu
> Specifically, I prefer to define the important components of my
> software as Java interfaces. Partly to see myself think, partly
> because it just makes more sense to me. I then want to implement these
> interfaces using gen-class and clojure functions and pass resulting
> objects as function ar
On 28/03/2010, at 8:01 PM, B Smith-Mannschott wrote:
> On Sun, Mar 28, 2010 at 08:39, Antony Blakey wrote:
>>
>> On 28/03/2010, at 4:42 PM, Antony Blakey wrote:
>>
>>> (defproject main "org.clojars.the-kenny:clojure-couchdb:0.2"
>>> :add-default-plugins true
>>> :description "Simple Clojure
22 matches
Mail list logo