Re: For socket repl: request redirectable *err* var

2008-09-29 Thread Craig McDaniel
Yes, I'd like to see *err* added too. I did my own *err* for a custom REPL and was surprised it wasn't already part of the environment just like *out*. On Sep 29, 9:24 am, Thorsen Eric <[EMAIL PROTECTED]> wrote: > I would love to see this change as well. > > Eric > > On Sep 28, 2008, at 1:28 PM,

Re: Patch: java.util.Map support

2008-09-29 Thread Stephen C. Gilardi
On Sep 29, 2008, at 3:20 PM, Stephen C. Gilardi wrote: > This part concerns me: > >> Note: Since clojure maps are no java maps, they can't be equal to >> java >> maps. This holds for wrapped clojure maps as well - surprisingly >> (in a >> bad sense), but i don't see a way around this: >> >>

anybody want a ClojureCheck?

2008-09-29 Thread Stuart Halloway
Hi all, At the JVM summit Clojure breakout someone suggested a Haskell QuickCheck/ScalaCheck library for Clojure. I am attaching a small spike in that direction below. A few questions: (1) Is anybody interested? (2) If the answer to (1) is yes, do you like the direction I am going in the

Re: Patch: java.util.Map support

2008-09-29 Thread Stephen C. Gilardi
Hi achim, That looks like a fine start. Thanks for doing it! This part concerns me: > Note: Since clojure maps are no java maps, they can't be equal to java > maps. This holds for wrapped clojure maps as well - surprisingly (in a > bad sense), but i don't see a way around this: > >(= (doto (

Re: Native library calls from Clojure via JNA

2008-09-29 Thread Allen Rohner
On Sep 29, 1:09 pm, Aaron Brooks <[EMAIL PROTECTED]> wrote: > I've had success using JNA to call system libraries I thought I'd post > an example snippet in case it helps someone else. This looks very cool. I didn't know it would be this easy. Thanks for the example. Allen --~--~-~--~

Patch: java.util.Map support

2008-09-29 Thread Achim Passen
Hi! Here's a patch to add java.util.Map support to clojure maps, along with some example code. This my first java code in quite some time, so if you notice i'm doing anything odd or incorrect, please don't hesitate to comment. http://groups.google.com/group/clojure/web/jmap.diff http://groups.go

Native library calls from Clojure via JNA

2008-09-29 Thread Aaron Brooks
All, I've had success using JNA to call system libraries I thought I'd post an example snippet in case it helps someone else. The below demo requires a clojure-contrib.jar from http://sf.net/projects/clojure-contrib and a jna.jar from https://jna.dev.java.net/ (be sure it's actually, jna.jar not

Re: Current Projects

2008-09-29 Thread Allen Rohner
> I have been looking into Clojure and I am looking for active projects > using Clojure so that I can look at production code. I don't know of much public code yet. Here are a few ideas though: * rhickey's ants demo http://clojure.googlegroups.com/web/ants.clj?gda=hYoBxzoAAABoLitVpBTEcNIQc_NHg39

Re: For socket repl: request redirectable *err* var

2008-09-29 Thread Thorsen Eric
I would love to see this change as well. Eric On Sep 28, 2008, at 1:28 PM, Stephen C. Gilardi wrote: > For a socket repl, I'd like to have error output sent across the > wire as well as normal output. Clojure currently provides vars (*in* > and *out*) that allow a thread to redirect input a