I created a ticket http://dev.clojure.org/jira/browse/CLJ-1508
2014-08-18 11:02 GMT+08:00 dennis zhuang killme2...@gmail.com:
I think that adding a :p option to destructuring would be great:
(let [ {:keys [a b c] :p {a a-p}} params]
(if a-p
(println a)
(println a is
I don't think that a :p feature is necessary, since all you need to do to
emulate it is a
(:baz all-keys) to know if the user explicitly specified it. I.e. I think
the capability is already present in adequate form but the documentation on
map destructuring could be improved.
On Sun, Aug 17,
This doesn't overwrite the current project.clj correct? It just generates
text for a new file?
On Saturday, August 16, 2014 8:19:42 PM UTC-4, john walker wrote:
Hello everyone.
This is a lein plugin that helps you add dependencies to projects pretty
quickly. The git repo is here:
Yep, it's an optional syntax sugar.
Indeed, you should use (contains? all-keys :baz) to check if :baz is
present in options. If :baz is present but it's value is nil,then (:baz
all-keys) returns nil too.
2014-08-18 18:57 GMT+08:00 Dave Tenny dave.te...@gmail.com:
I don't think that a :p
Here are some functional programming job opportunities that were posted
recently:
Senior Software Engineer (Clojure) at SecureOne
http://functionaljobs.com/jobs/8733-senior-software-engineer-clojure-at-secureone
Clojure/ClojureScript and Datomic at Listora
It looks like it walks the file and injects new lines.
Are you planning on adding a remove task?
Also, it'd be great if you define groups of dependencies by giving multiple
dependencies the same key. For example, I want something like
{
om#{om frontend}
Using timbre https://github.com/ptaoussanis/timbre, I'm wondering howto
make multiple log files per session.
I see
https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/appenders/rolling.clj#L57-L70
where you can make a RollingFileAppender. Using that, I'd also like to log
to
For posterity, you should create a PGobject object. See instructions how in
http://naiquevin.github.io/using-postgresqls-enum-types-with-korma.html
On Wednesday, February 6, 2013 2:59:14 AM UTC-6, James Thornton wrote:
For example, here is a product table in PostgreSQL with status as an enum:
I ran it on windows 7 via lein 2.4.3 and it just prints out a new
project.clj. It didn't alter the project.clj for me.
I ran: lein plz add match
On Monday, August 18, 2014 12:24:00 PM UTC-4, Dylan Butman wrote:
It looks like it walks the file and injects new lines.
Are you planning on
Awesome! Well done!
On Monday, August 18, 2014 12:55:23 AM UTC+2, Ashton Kemerling wrote:
I went ahead and wrote it. I'm sure there are some bugs to work out, but
for now it works in the basic cases. The pullrequest for this feature can
be located on Solr's github here:
Thats really strange. I don't know why thats happening, but it should
overwrite the project.clj
The only i/o relevant to this is over here. It's a combination of
with-out-str and spit.
https://github.com/johnwalker/lein-plz/blob/master/src/leiningen/plz.clj#L149
On Monday, August 18, 2014
I hadn't planned on adding remove, but with groups of dependencies, it
makes sense. I like it
Dependencies that will surely be added get lookups, but no one else. I'm
going to play with exclusions to see if I can make it launch faster, but I
suspect that it's largely a clojure issue in
Hi All,
If you'd like to have a full privileged Clojure REPL on your rooted Android
SDK18/Android4.3+ device/emulator, try this out:
https://play.google.com/store/apps/details?id=figurehead.ui
Some short video demos/tutorials:
https://github.com/pw4ever/tbnl/wiki/demos
Give it a try if you
Just wanted to say thank you! for this. It certainly is useful!
A possible enhancement: to try to locate and add dependencies that are not
known as abbreviations. For example, `lein plz add om` doesn't do anything (and
doesn't tell you!) so you have to edit your .edn file and add {om #{om}}
It'd be great if you could chain lein take like that to take advantage of
having already spun up the jvm.
I've been thinking a lot lately about scaffolding for clojure projects, and
while lein templates are a nice start, what I want to work towards is modular
templates that can add (and maybe
Thanks Sean!
I've thought about this issue for a while. arrdem suggested a clojars
search fallback. Maybe someone has pageranked clojure libraries? crossclj?
I agree. The editing is sort of silly, especially for om (well, that m
looks really expensive to me.. ). Still, there isn't a risk of
Is there a link to your work? I'm very interested in this.
On Monday, August 18, 2014 8:49:36 PM UTC-7, Dylan Butman wrote:
It'd be great if you could chain lein take like that to take advantage of
having already spun up the jvm.
I've been thinking a lot lately about scaffolding for
17 matches
Mail list logo