On Thursday, May 12, 2016 at 9:33:29 AM UTC-4, Michael Willis wrote:
>
> As long as we're cutting out unnecessary code, this is also equivalent:
>
> (defn baz [options]
> (merge {:opt1 "default-1" :opt2 "default-2"} options))
>
>
Heh-heh, I was going to point that out. And now baz is a crippled form of
merge.
Good examples are tough!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.