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 not exists.")))
2014-08-17 20:05 GMT+08:00 Dave Tenny :
> Well, it took me a while to perhaps get what you were telling me here.
Great! I hope he likes it :)
On Sunday, August 17, 2014 3:46:52 PM UTC-7, Ashton Kemerling wrote:
>
> Ahh, I just had a coworker who is used to NPM complain about leiningen not
> having this, thank you!
>
> --
> Ashton
>
> On Saturday, August 16, 2014 6:19:42 PM UTC-6, john walker wrote:
>>
>> He
Hi all,
I’m pleased to announce the release of version 0.6.0 of Parkour. Parkour
is a Clojure Hadoop integration library, focused on support for writing
Hadoop MapReduce applications in plain Clojure. Code, documentation, and
artifact dependency information is available on Github:
https://gi
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:
https://github.com/apache/lucene-solr/pull/85.
--
Ashton
On Wednesday, August 13, 2014 6:50:34 PM UTC-6, Alex Mil
Ahh, I just had a coworker who is used to NPM complain about leiningen not
having this, thank you!
--
Ashton
On Saturday, August 16, 2014 6:19:42 PM UTC-6, john walker wrote:
>
> Hello everyone.
>
> This is a lein plugin that helps you add dependencies to projects pretty
> quickly. The git repo
Hi,
I've released authenticator 0.1.1.
authenticator is a small Clojure library that can be used to easily
implement a java.net.Authenticator.
Please visit https://github.com/schmir/authenticator for more
information.
--
Cheers
Ralf
--
You received this message because you are subscribed to
As noted in the BR, it seems like JS style access after the / was actually
intended. Is this behaviour documented somewhere? I see more and more
examples in the wild that exploit this feature, it would be great to have
it documented somewhere as it can cause confusion.
>
--
You received this
Well, it took me a while to perhaps get what you were telling me here.
In my case I I had something like
(defn foo [ & {:keys [bar ... more keys ...] :or {bar 1}} ] ...)
and I wanted to know whether the user had explicilty invoked foo with :bar.
What wasn't clear to me was that :as solved this
Hey Henrik,
> Yes, thanks for Sente, Peter!
> Will Sente eventually use/support Transit? :-)
>
Good question. Haven't actually taken a proper look at Transit yet, but
definitely planning to when I can find some time. Issue / PR welcome till
then if you or anyone else has some specific ideas i