Re: clj-native 0.8.1

2010-03-17 Thread pthatcher
I can't believe no one has suggested: Najure. On Mar 13, 11:14 am, mac wrote: > Hello all. > I have had some time lately to work on my C FFI for Clojure and I > think it's pretty much feature complete now. > It has support for functions, callbacks, structures, unions and > globals. > For structu

Re: Name suggestions

2010-03-17 Thread pthatcher
I can't believe no one has suggested: Najure. On Mar 17, 8:00 am, David Nolen wrote: > yodel > > > > On Wed, Mar 17, 2010 at 3:08 AM, mac wrote: > > After just a little more test and polish I plan on calling clj-native > > 1.0. But clj-native is a *really* boring name so I want to change it >

Re: Bug in Clojure 1.2 case macro

2010-02-24 Thread pthatcher
-eval "ABC" "ABC" :abc) (case-eval "ABC" *abc* :abc) (case-eval "ABC" (*abc*) :abc) Find the full code here: http://gist.github.com/314129 On Feb 23, 10:10 pm, Chouser wrote: > On Feb 23, 2010, at 8:47 PM, pthatcher wrote: > > &

My first use of cells: hashing

2010-02-23 Thread pthatcher
I was reading rhickey's ideas about cells, and it seemed like it matched very well with using java's MessageDigest to do sha1 or md5 hashing. I coded it up, and I liked the result and thought others might be interested. http://gist.github.com/311790 The key parts ended up looking like this: (e

Bug in Clojure 1.2 case macro

2010-02-23 Thread pthatcher
I noticed a funny bug in Clojure 1.2's case macro. It doesn't work with *vars*. For example: (def *a* "a") ;this is true (case "a" "a" true false) ;but this is false! (case "a" *a* true false) I put some more info at http://gist.github.com/312898 , including a simple work around. I hope

Re: Seattle Clojure meeting

2010-02-05 Thread pthatcher
11th should work for me. On Feb 3, 7:01 pm, Phil Hagelberg wrote: > Hello, clojurists of Seattle. > > Let's meet! I'm thinking of getting folks together from 7pm to 9pm at Zoka > in the University District:http://bit.ly/c9jinWTopics may include > Leiningen, deftype/protocols, getting set up with

Re: Seattle Clojure meeting

2010-02-05 Thread pthatcher
11th should work for me. On Feb 3, 7:01 pm, Phil Hagelberg wrote: > Hello, clojurists of Seattle. > > Let's meet! I'm thinking of getting folks together from 7pm to 9pm at Zoka > in the University District:http://bit.ly/c9jinWTopics may include > Leiningen, deftype/protocols, getting set up with