And yes, the first time you look at the details of map destructuring for 
optional keyword arguments in Clojure functions it can be a bit confusing, 
but it is such a handy idiom once you get used to it.

On Monday, November 2, 2015 at 5:53:33 PM UTC-6, James Elliott wrote:
>
> If you really do want to set both parameters, you need both to be 
> keywords, i.e:
>
>   (f :s-history-limit 1000 :q-history-limit 1000)
>
> That may have just been a typo in your posting, but I wanted to be sure it 
> was not also in your code.
>
>   -James
>
> On Monday, November 2, 2015 at 5:11:03 PM UTC-6, William la Forge wrote:
>>
>> Solved by repl.
>>
>> (f :s-history-limit 1000 q-history-limit 1000) is what I want.
>>
>> (I'm finding clojure to be a rich language.)
>>
>

-- 
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 - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to