[HN Gopher] Clojure: Keyword argument functions now also accept ...
___________________________________________________________________
Clojure: Keyword argument functions now also accept maps
Author : tosh
Score : 26 points
Date : 2021-03-19 17:51 UTC (5 hours ago)
(HTM) web link (clojure.org)
(TXT) w3m dump (clojure.org)
| nickik wrote:
| Neat. I have been a fan of Keyword arguments for a long time.
| Dylan does it well too.
|
| I mostly didn't do this for my Clojure code, because I didn't
| want to use any of the libraries that do it. Simply because to
| many times there is an issue with libs like that in the long term
| and are hard to read.
|
| You also run into an issue of how far to go, how about adding
| defaults, constraints and so on.
|
| Having a simple standard way in Clojure core was something I
| hoped would happen in a long time.
___________________________________________________________________
(page generated 2021-03-19 23:02 UTC)