> On Aug 9, 2016, at 1:51 PM, Ben Greenman wrote:
>
> Does anyone have code for statically approximating the arity (and keywords)
> of a function?
>
> Examples of my dream function static-procedure-arity:
>
> > (static-procedure-arity #'(lambda (x) x))
> 1
> >
Does anyone have code for statically approximating the arity (and keywords)
of a function?
Examples of my dream function static-procedure-arity:
> (static-procedure-arity #'(lambda (x) x))
1
> (static-procedure-arity #'(lambda (x #:y y . z) x))
(arity-at-least 1)
> (static-procedure-arity
2 matches
Mail list logo