I've used tagged unions to represent lookup identifiers for variant types
and found them to be pleasant to work with. I think part of the reason they
don't seem useful in the context of this discussion is that many of the
examples given have not actually been variants. For example, in
In this specific case, I might personally use something like:
(render-image (some-> product-image-list first deref))
...or maybe write a little function that does the above. Alternately, in
(render-image) you might start out with (if (nil? cursor) (default-image)
(code-to-render @cursor)).
I'm not sure if it's something else in my project's somewhat baroque
dependency tree that causes this, but after I add lein-collisions to my
project's plugins, I'm unable to get it to pass lein's :pedantic? tests due
to overlapping versions in its own dependencies:
http://pastebin.com/js93Mrzw
Oh, that's odd. I don't have any entries in my own user plugins for lein
new templates. (I'm assuming you meant ~/.lein/profiles.clj, right?)
Is there some reason you have them in there? lein new chestnut should
work just fine without them, but maybe I'm not understanding what you're
trying to
I ran into this same behavior, and then I realized it only happened if I
run the lein new command if I'm *already in* a previously-created project
created with lein new chestnut. I'm guessing that something in the
generated project.clj interferes some of the lein new behavior somehow. At
any
Well, clojure-grimoire.com is available, FWIW.
Tim
On Saturday, July 12, 2014 2:46:18 AM UTC-4, Reid McKenzie wrote:
While I appreciate the interest, I think that attempting to officiate
Grimoire is a bad move.
We already have clojure.org. clojure.org is the only official site.
Grimoire
+1 from me. I don't think extremely literal names are bad things where
plugins are concerned.
Tim
Mike Hinchey wrote:
I vote for EclipseClojure or eclipse-clojure. It's not as fun as some
of the others, but do you really need a distinct brand on this
project? I think easy to understand