Re: Migrating from nrepl.el to cider

2014-01-11 Thread mwillson
spite it. I'm using CIDER 0.5.0alpha, so I guess > I'm expecting some rough edges. The url I posted above seems to suggest > that They are aware of the issue. > > On Tuesday, December 31, 2013 7:56:46 AM UTC-8, Gary Trakhman wrote: >> >> I've seen the p

Migrating from nrepl.el to cider

2013-12-31 Thread mwillson
Folks, I've recently migrated to cider on two platforms, Mac OS X (Mavericks) and Debian Wheezy. With each, I encountered one issue, but different in each case. If these are worth reporting formally, I'd be happy to do so. 1. Mac OS X Once cider was installed, I was unable to use cider-jack-

Re: seancorfield /clj-soap

2013-05-17 Thread mwillson
Marc, I tried and also failed. I ended up writing my own. See http://www.hydrus.org.uk/journal/soap.html -mark On Saturday, 18 May 2013 05:29:40 UTC+1, marc wrote: > > Hoping someone has already explored this. Has anyone ever used clj-soap as > a client and managed to pass in Basic authentic

Re: How to represent trees for use with zippers

2012-10-16 Thread mwillson
Dave, Your first attempt looks OK to me. (require '(clojure [zip :as z])) (def zipper (z/vector-zip [:A [:B [:D :E]] [:C [:F :G]]])) (defn pre-order [loc] (when-not (z/end? loc) (when-not (z/branch? loc) (println (z/node loc))) (recur (z/next loc user=> (pre-order zipper) :

Re: How to write XML?

2012-06-16 Thread mwillson
On Wednesday, 13 June 2012 20:35:41 UTC+1, fenton wrote: > > For some reason I cannot create an XML node. Sample code > here. Any > assistance much appreciated. I think you need to create a zipper from the root node returned by (zip/root), so, (d

Re: Exit delay from java when lazy?

2009-07-30 Thread mwillson
On Jul 29, 8:17 pm, Michael Wood wrote: > 2009/7/29 mwillson : > > > > I was experimenting with Clojure and XML and stumbled upon a lengthy > > hang when exiting java which was tracked down to the use of > > clojure.contrib.lazy-xml.  Here's a toy example whi

Exit delay from java when lazy?

2009-07-29 Thread mwillson
Hi, I was experimenting with Clojure and XML and stumbled upon a lengthy hang when exiting java which was tracked down to the use of clojure.contrib.lazy-xml. Here's a toy example which exhibits the issue: Script started on Wed Jul 29 15:06:44 2009 [~/dev/clojure]$ cat read-xml-lazy.clj (ns str