Re: Registering commands in a command language

2014-05-29 Thread Walter van der Laan
You can do this using multimethods. defmulti and defmethod will allow you to do everything you ask for apart from adding a doc-string to each command. Have a look at: http://clojuredocs.org/clojure_core/clojure.core/defmulti On Thursday, May 29, 2014 3:05:56 AM UTC+2, Will Duquette wrote: If

clojurescript 0-.0-2227

2014-05-29 Thread t x
I just upgraded to clojurescript 0.0-2227 I now get the following error. Anyone else run into this issue? ./lein pdo cljx auto, cljsbuild ao to Compiling ClojureScript. Exception in thread main java.lang.RuntimeException: No such var: deps/find-classpath-lib, compiling:(cljs/closure.clj:431:20)

Re: Registering commands in a command language

2014-05-29 Thread Gregg Reynolds
On Wed, May 28, 2014 at 8:05 PM, Will Duquette w...@wjduquette.com wrote: If there's a better place to ask this kind of question, please point me in the right direction! I'm learning Clojure, and part of the project I'm making is a command language: the user can type commands at the

Re: ANN: [prismatic/plumbing 0.3.0] release adds ClojureScript support

2014-05-29 Thread Gary Trakhman
I was also wondering about this, several people on the #reactjs IRC channel were wondering why they were getting e-mails and had no recollection of signing in to prismatic. On Wed, May 28, 2014 at 9:21 PM, Atamert Ölçgen mu...@muhuk.com wrote: Whoever thought it would be a good idea to farm

Re: ANN: [R User Conference]

2014-05-29 Thread Jeff Heon
R is quirky, but really nice. Not to hijack too much the group, but if you learn better with interactive introductions, like me, here are two nice interactive introductions to R : https://www.codeschool.com/courses/try-r (Very humorous) https://www.datacamp.com/courses/introduction-to-r (More

Re: ANN: [R User Conference]

2014-05-29 Thread Fergal Byrne
Coursera are basing a suite of courses in data science on R: https://www.coursera.org/specialization/jhudatascience/1 On Thu, May 29, 2014 at 6:09 PM, Jeff Heon jfh...@gmail.com wrote: R is quirky, but really nice. Not to hijack too much the group, but if you learn better with interactive

need help automating continuous deployment

2014-05-29 Thread Cody Ruby
A colleague of mine owns an established software company and is looking to expand his team for moving an analytics product to the cloud; all new development for automating continuous deployment. Subsequently, he’s asked for my help in getting the word out to those interested in joining him

Strange update-in Behavior

2014-05-29 Thread Stuart Fehr
I am not sure if this is considered a bug or if it is simply expected behavior, so I thought I would ask the list for clarification. I have this test which passes and shows the strange behavior that I am encountering: (deftest update-in-and-remove ;; The leaf value becomes and empty list

Re: Strange update-in Behavior

2014-05-29 Thread Ben Wolfson
it is expected behavior, because update-in calls the supplied function with the value it finds in the map as the first argument, so your first call ends up being (remove [1 2 3] #{2}) Since ([1 2 3] 2) = 3 and is truthy, the result is (). In your second case you're using (partial remove #{2}),

ANN Neocons 3.0 is released

2014-05-29 Thread Michael Klishin
Neocons [1] is a Clojure client for the Neo4J REST API. Release notes: http://blog.clojurewerkz.org/blog/2014/05/29/neocons-3-dot-0-0-is-released/ 1. http://clojureneo4j.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message because you are

ANN Welle 3.0.0 is released

2014-05-29 Thread Michael Klishin
Welle [1] is a small Clojure client for Riak with batteries included. Release notes: http://blog.clojurewerkz.org/blog/2014/05/29/welle-3-dot-0-0-is-released/ 1. http://clojureriak.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message

Re: ANN: [R User Conference]

2014-05-29 Thread Gregg Reynolds
On Thu, May 29, 2014 at 1:22 AM, A aael...@gmail.com wrote: I hope it's allright to mention here that the R User Conference is happening June 30-July 3 in Los Angeles. There are a number of ways Clojure and R can be used together for statistical programming and data analysis. Observing the

Re: Strange update-in Behavior

2014-05-29 Thread Stuart Fehr
Ah, for some reason, I had it in my head that the value found in the map was the *last* argument passed to the function. This behavior makes a lot more sense now. Thanks for the clarification! On Thursday, May 29, 2014 11:00:58 AM UTC-6, Stuart Fehr wrote: I am not sure if this is considered

Re: ANN: [R User Conference]

2014-05-29 Thread TP
On Thu, May 29, 2014 at 12:21 PM, Gregg Reynolds d...@mobileink.com wrote: On Thu, May 29, 2014 at 1:22 AM, A aael...@gmail.com wrote: I hope it's allright to mention here that the R User Conference is happening June 30-July 3 in Los Angeles. There are a number of ways Clojure and R can be

Confusion about binding *ns* before defining a var

2014-05-29 Thread ian.tegebo
I went to write a context macro so that I could define functions in another namespace. After the obligatory googling, I found with-ns: http://richhickey.github.io/clojure-contrib/with-ns-api.html Clicking through to look at the source, I was surprised to see that eval was being wrapped around

Re: ANN: [prismatic/plumbing 0.3.0] release adds ClojureScript support

2014-05-29 Thread Atamert Ölçgen
Prismatic responded via twitter. Funny thing is, whoever's writing those tweets seems to think her (or his) audience would simply buy insincere apologies like we didn't intent and so clueless to who she's talking to that she would mention the unsubscribe link. See:

Re: Confusion about binding *ns* before defining a var

2014-05-29 Thread Stephen Gilardi
On May 29, 2014, at 7:11 PM, ian.tegebo ian.teg...@gmail.com wrote: user (binding [*ns* (the-ns 'blah)] (defn foo [])) #'user/foo user (binding [*ns* (the-ns 'blah)] (eval '(defn foo []))) #'blah/foo clojure.core/eval evaluates a form by compiling it and then executing the compiled code.

Re: Confusion about binding *ns* before defining a var

2014-05-29 Thread ian.tegebo
On Thursday, May 29, 2014 8:43:58 PM UTC-7, squeegee wrote: On May 29, 2014, at 7:11 PM, ian.tegebo ian.t...@gmail.com javascript: wrote: user (binding [*ns* (the-ns 'blah)] (defn foo [])) #'user/foo user (binding [*ns* (the-ns 'blah)] (eval '(defn foo []))) #'blah/foo In the first

help with the lawyers?

2014-05-29 Thread rcg
Hello; Developing web site for government using Clojure on back end- lawyers reviewing EPL had objections. Would appreciate any advice on how to deal with them. Again- web site, not distributing or modifying Clojure. I have no expertise with Open Source Licenses or lawyer-ese jargon. These

Re: help with the lawyers?

2014-05-29 Thread Marcus Blankenship
Dude, you need a lawyer to answer these questions. No one here in their right mind will give legal advice, at least not this way. On May 29, 2014, at 8:31 PM, rcg randy.goebb...@gmail.com wrote: Hello; Developing web site for government using Clojure on back end- lawyers reviewing EPL

Re: help with the lawyers?

2014-05-29 Thread Atamert Ölçgen
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. This is a very peculiar clause for me. I have just checked GPL text and it doesn't contain anything like that. I'll look into this further later, but at this