swank-clojure and Cygwin

2010-02-16 Thread metaperl
Hello, M-x slime is failing on Emacs 23.1 under Cygwin as follows below. My suspicion is that Unix paths are not being converted to Windows via cygpath before calling java -jar === (require 'swank.swank) (swank.swank/ignore-protocol-

#

2010-02-17 Thread metaperl
Hello, I'm trying to study this page using NetBeans Enclojure. I was able to successfully define and use the mymax function, but when I try to examine the metadata, I get the error above. Source code and REPL transcript follow: =

can the :test metadata be used to constrain the range of a variable?

2010-02-17 Thread metaperl
I tried to use :test to constrain the range of a variable, but it didnt seem to work. Am I misunderstanding the purpose of this keyword? user=> (def #^{ :doc "Integer between -5 and 5" :test (fn [] (assert (and (> x -5) (< x 5} x 12) #'user/x user=> user/x 12 I had hoped this would throw an e

since a list of chars is not a string...

2010-02-17 Thread metaperl
The reference manual example implies that a list of chars is not a string: (let [[a b & c :as str] "asdjhhfdas"] [a b c str]) ->[\a \s (\d \j \h \h \f \d \a \s) "asdjhhfdas"] So what functions exist for conversion from chars to string and vice versa? Also how should I have been able to use th

:strs and :syms directives

2010-02-17 Thread metaperl
Hi, the ref manual introduces :keys which I understand. It then says: """There are similar :strs and :syms directives for matching string and symbol keys.""" but no example is given. Could someone supply an example for each of these directives please? I simply a