Suggestion: Allow arity 0 calls for fnks when all args have defaults
mschulkind opened this issue · comments
Matthew Schulkind commented
Title pretty much says it all.
Example:
(defnk foo [{a 1} {b 2}] ...)
Right now I seem to have to call this as (foo {})
would be nice to be able to just use (foo)
.
Jason Wolfe commented
Thanks for the suggestion; but in my opinion losing the simplicity and explicitness that "a fnk takes a single map argument" is not worth the small convenience gained in this relatively rare case.