und.
On Sep 23, 3:42 pm, Tarantoga wrote:
> Deftype handles annotations and all the other features of java
> classes. Have a look here for an
> example:http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=e...
>
> On Sep 23, 10:11 pm, Warren Wood wro
Excellent, thanks! And thanks for sharing the taxi from Strange Loop
to STL tuesday night! :)
On Sep 23, 2:07 pm, Stuart Sierra wrote:
> Hi Warren,
>
> Clojure doesn't try to be support every possible feature of Java when
> generating Java classes, it just provides enough for interop purposes.
Ideally when generating a java class from Clojure for interop
purposes, we should be able to generate any annotations that the
equivalent java code could generate. Thus if a java class can
annotate a constructor parameter, then gen-class and defrecord should
be able to do that too. (I'm trying to
Can we get a status update on that :) ?
On Aug 19, 3:22 pm, Mark Derricutt wrote:
> I think I can do that - or at least push that along. Will check into it
> when I get to the office in about 30 minutes.
>
> PS: Direct sync to central is easy via oss.sonatype.org repositories.
>
> --
> Pull me d
Here is what the exception says :
Caused by: java.lang.RuntimeException: java.lang.ClassCastException:
com.day.cq.net.jar.ContentBusJarURLConnection cannot be cast to
java.net.JarURLConnection at clojure.lang.RT.(RT.java:291)
On Jan 6, 3:11 pm, Warren Wood wrote:
> The cast in the follow
The cast in the following method from RT.java throws a
ClassCastException when trying to compile Clojure within the Day
Communique 4.2.1 content management system. Any suggestions?
thanks,
Warren
static public long lastModified(URL url, String libfile) throws
Exception{
if(url.getProtocol().equ
16) (partial <= 9))
(range 1 20))
evaluates to
(10 12 14 16)
On Nov 7, 9:39 pm, Warren Wood wrote:
> On Nov 6, 12:10 pm, John Harrop wrote:
>
>
>
>
>
> > On Fri, Nov 6, 2009 at 1:07 PM, John Harrop wrote:
> > > On Fri, Nov 6, 2009 at 1:01 PM, Warren Woo
Thanks, that was indeed helpful!
On Nov 6, 6:47 pm, Alex Osborne wrote:
> Alex Osborne wrote:
> > Like Mark's but using split-with instead of split-at:
>
> > (defn partition-when [pred coll]
> > (lazy-seq
> > (when-let [[x & xs] (seq coll)]
> > (let [[xs ys] (split-with (complement
On Nov 6, 12:10 pm, John Harrop wrote:
> On Fri, Nov 6, 2009 at 1:07 PM, John Harrop wrote:
> > On Fri, Nov 6, 2009 at 1:01 PM, Warren Wood
> > wrote:
>
> >> In the meantime, I came up with the following, which seems to work.
> >> I'm sure it can be