global
global=
freeze-global!
has-global?
bind-global!
del-global!
def
with-global
defn
let-fn
fn-name
arg-limits
min-args
max-args
fn0
fn1
no-op
identity
fn-yields?
coro-state
coro-run
coro-finish!
load
require
eval
eval-multi
load-str
expand
expand-multi
expand-1
macro
macro=
has-macro?
bind-macro!
del-macro!
defmacro
(arg-limits f) f: a callable returns an arr
Returns a function's minimum and maximum argument count.
This is equivalent to (arr (min-args f) (max-args f)).
(arr (min-args f) (max-args f))
(defn example (a b (? c)) (prn a b c)) (prn (arg-limits example)) ; prints (2 3)
See also: min-args, max-args