impc:ti:allocate-var?   scheme


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

2 implementations of impc:ti:allocate-var?: #1 /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm · #2 /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm


Implementation

(define impc:ti:allocate-var?
  (lambda (ast)
    (cond ((null? ast) #f)
          ((member ast *impc:lambdaslist*) #t)
          ((pair? ast)
           (or (impc:ti:allocate-var? (car ast))
               (impc:ti:allocate-var? (cdr ast))))
          (else #f))))


Back to Index