Y
Hacker News
new
|
ask
|
show
|
jobs
by
lukaszkorecki
25 days ago
For me it solves a real issue, a lot of the code that I work on looks like this:
(defn foo [{:keys [a b c] :or {a 1}] {:pre [(some? b) (some? c]} .....
having `:keys!` will automatically remove the need for `:pre`