t:closure-size?   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmti.xtm

Implementation

;; closure with number of args
(define t:closure-size? (lambda (f num)
                          (if (string? f) (set! f (impc:ir:get-type-from-pretty-str f)))
                          (and (impc:ir:closure? f)
                               (t:elts? f num))))


Back to Index