Re: clojure-dev: #55: clojure.contrib.sql expects *err* to be a PrintWriter Ticket updated - Resolution?

2010-02-27 Thread Phil Hagelberg
On Sun, Feb 14, 2010 at 1:34 AM, Steve Purcell wrote: > I'll bite: > >  http://github.com/purcell/swank-clojure > > In my master branch (freshly forked from Phil's repo) I've applied Richard's > patch, plus the following recent branches from the swank-clojure network on > github (http://github.c

Re: My first use of cells: hashing

2010-02-27 Thread David Nolen
On Sat, Feb 27, 2010 at 6:49 PM, Steven E. Harris wrote: > pthatcher writes: > > > I coded it up, and I liked the result and thought others might be > > interested. > > There are several facilities used in your example that I'd like to look > into further. I found the `extend-class' function in

Re: My first use of cells: hashing

2010-02-27 Thread Steven E. Harris
pthatcher writes: > I coded it up, and I liked the result and thought others might be > interested. There are several facilities used in your example that I'd like to look into further. I found the `extend-class' function in the core library, but where are the cell-related functions defined? Th

Re: bug: clojure.contrib.json should not default to use keywords.

2010-02-27 Thread MarkSwanson
Actually, I shouldn't have worded this as a json issue. It's really a core problem that keywords with spaces can't be serialized/ deserialized. A keyword is basically a String, and the language definition does not preclude keywords from having spaces. (keyword "a b c") works, and so does (get m (ke

bug: clojure.contrib.json should not default to use keywords.

2010-02-27 Thread MarkSwanson
Hello, Consider the following valid JSON: Clojure=> (def mq "{\"Question one\":\"test\"}") #'user/mq Clojure=> (read-json mq) {:Question one "test"} So the default behaviour fails to work correctly for a common case. The Clojure failure is not exactly obvious either: (read-string (str mq)) r

Re: functional abstraction

2010-02-27 Thread Jarkko Oranen
On Feb 27, 9:10 pm, reynard wrote: > This may be more about functional programming in general, rather than > clojure specific.  However, since I mainly use clojure for learning > functional programming, I would like to discuss it here. > > Basically, I can think of the following 2 ways of doing ab

Re: Extract tested stuff from REPL, can i ?

2010-02-27 Thread Mike Meyer
On Sat, 27 Feb 2010 03:42:04 -0800 (PST) uap12 wrote: > Hi! > I have installed ClojureBox with Emacs. > I test to write stuff, direct in the REPL, so is there som easy way of > get the function defined out, > i know i should write them in a src-file first but i would be nice > when just testing t

functional abstraction

2010-02-27 Thread reynard
This may be more about functional programming in general, rather than clojure specific. However, since I mainly use clojure for learning functional programming, I would like to discuss it here. Basically, I can think of the following 2 ways of doing abstraction. I would like to hear some comments

Re: Rails-like database migrations for use with clojure.contrib.sql

2010-02-27 Thread Rick Moynihan
On 26 February 2010 23:37, Matt wrote: > I've had rails like migrations working in Conjure (0.4 coming soon) > for a while. You may want to look at it for some help. Thanks for the links Matt, I'll certainly take a look when I have some more time. I implemented these migrations for a small appli

swank.swank start-server: Unable to resolve symbol in this context.

2010-02-27 Thread Tobias Raeder
I got some problem with swank. The idea is i want to setup an swank-server so i can connect to my project in emacs (to the running, build application) But i already get a problem with the use swank (full source at http://github.com/TobiasRaeder/iCipher/blob/master/src/iCipher.clj) (ns iCipher

Extract tested stuff from REPL, can i ?

2010-02-27 Thread uap12
Hi! I have installed ClojureBox with Emacs. I test to write stuff, direct in the REPL, so is there som easy way of get the function defined out, i know i should write them in a src-file first but i would be nice when just testing to be able to do the other way to.. // Anders -- You received this

Re: ClojureCLR status?

2010-02-27 Thread Justin Bozonier
haha It might be a good idea... I was wondering if it was dead as well. :) On Feb 26, 4:44 am, dmiller wrote: > Two factors: > > (1) I'm working on deftype/protocols/reify and related things.  This > requires some non-trivial re-engineering of the compiler (based on non- > trivial reverse-enginee

Re: clojure-contrib on build.clojure.org

2010-02-27 Thread Wilson MacGyver
Thank you! On Sat, Feb 27, 2010 at 12:14 AM, Cosmin Stejerean wrote: > On Fri, Feb 26, 2010 at 12:34 PM, Wilson MacGyver wrote: >> Hi, >> >> Does build.clojure.org have the release version of the >> clojure-contrib? >> >> I only see the release version of clojure itself >> at http://build.clojur