Re: Lazy evaluation of arguments

2016-04-26 Thread Michael Griffiths
I'm not sure I fully understand your proposal, but when I really need lazy evaluation (which is pretty rare) I reach for `delay` and `force`. On Tuesday, 26 April 2016 16:41:08 UTC+1, Olek wrote: > > Hi! > > In short: > > I have noticed that in most cases I use macros only for lazy arguments > e

Re: How do I depend on clojure 1.7.0-master-SNAPSHOT?

2015-02-28 Thread Michael Griffiths
: > > On Feb 27, 2015, at 3:30 PM, Michael Griffiths > wrote: > > Sean, thanks - but does it still work for you if you remove ~/.m2/ (or > just remove 1.7.0-master-SNAPSHOT from here)? I've tried with the trailing > slash and am still having no luck (both locally and on Tr

Re: How do I depend on clojure 1.7.0-master-SNAPSHOT?

2015-02-27 Thread Michael Griffiths
and build master directly in the meantime - thank you. Michael On Thursday, 26 February 2015 23:11:05 UTC, Sean Corfield wrote: > > On Feb 26, 2015, at 11:21 AM, Michael Griffiths > wrote: > > I have the following in my project.clj: > > > > :dependencies [[org.clojur

Re: XPATH/XSLT like access to Clojure data structures?

2015-02-27 Thread Michael Griffiths
Sorry, please ignore me. I misread your post entirely :-). I think clojure.zip and clojure.data.zip (not the XML parts) will get you partway to where you want, but I do not know of any XPATH-like API over the top of them. On Friday, 27 February 2015 14:08:19 UTC, Henrik Heine wrote: > This see

Re: XPATH/XSLT like access to Clojure data structures?

2015-02-27 Thread Michael Griffiths
Maybe clojure.data.zip.xml (in clojure.data.zip) is close to what you're looking for? http://clojure.github.io/data.zip/#clojure.data.zip.xml On Friday, 27 February 2015 12:53:51 UTC, Henrik Heine wrote: > Hi folks, > > do you know of a lib that let's you navigate around nested Clojure > struct

How do I depend on clojure 1.7.0-master-SNAPSHOT?

2015-02-26 Thread Michael Griffiths
Hi all, I have the following in my project.clj: :dependencies [[org.clojure/clojure "1.7.0-master-SNAPSHOT"]] :repositories [["snapshots" "https://oss.sonatype.org/content/repositories/snapshots";]] but am getting this error: Could not find artifact org.clojure:clojure:jar:1.7.0-master-SN

Re: How to create jar for data.int-map

2015-02-19 Thread Michael Griffiths
Clojure and Clojure contrib libraries are uploaded to Sonatype when released. e.g. https://oss.sonatype.org/content/groups/public/org/clojure/data.int-map/ There should be both a jar with sources and jar without sources for each released version of each lib. Michael -- You received this me

Re: Why doe floor and ceil accept clojure.lang.Ratio but round not

2014-11-25 Thread Michael Griffiths
Hi Cecil, I think the issue doesn't occur for ceil and floor because there's only one overload, so Clojure can infer which method you intended to call (since it can convert a Ratio into a double). Because round has two overloads, which both take a type that can be converted from Ratio (float a

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-09-08 Thread Michael Griffiths
Hi Nicola, This is great stuff. Are there plans for a tools.emitter.js? Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated

Re: Auto reloading of dependencies with cider

2014-06-23 Thread Michael Griffiths
You can also use the `cider-refresh` command, which is bound to `C-c C-x` by default. It uses tools.namespace.repl/refresh under the hood. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com N

Re: Workflow: cljx, cljsbuild & tdd in one process

2014-06-20 Thread Michael Griffiths
There's also a Leiningen plugin called lein-pdo that lets you run tasks in parallel: https://github.com/Raynes/lein-pdo Example usage for cljx auto & cljsbuild auto: https://github.com/DomKM/omelette/blob/master/project.clj#L59 -- You received this message because you are subscribed to the Go

Re: restarts

2014-06-19 Thread Michael Griffiths
You may be interested in ribol: https://github.com/zcaudate/ribol http://docs.caudate.me/ribol/ I've not had a chance to play with it myself. On Thursday, 19 June 2014 17:25:04 UTC+1, Christopher Howard wrote: > > Does Clojure have restarts or continuable-errors like in CL? Or > something simil