Description Usage Arguments Value Examples
The set_defaults function and the %<?% operator modifies the
defaults of a function, returning a new function. As such it can be thought
of as a soft partial application in that the arguments does not become fixed
and the arity doesn't change, but the arguments can be ignored when making
the final call.
| 1 2 3 | set_defaults(fun, defaults)
fun %<?% defaults
 | 
| fun | A function whose argument default(s) should be changed | 
| defaults | A named list of values. The values will be set as default for the arguments matching their name. Non-matching elements will be ignored | 
A new function with changed defaults
| 1 2 3 4 5 6 7 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.