impc:ti:closure-is-being-compiled?   scheme


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

Implementation

;; this will return true during compilation (i.e. after the call to
;; `bind-func' but before the type of the closure is finalised)
(define impc:ti:closure-is-being-compiled?
  (lambda (closure-name)
    (let ((res (impc:ti:get-closure-type closure-name)))
      (if res #t #f))))


Back to Index