p:variable   scheme

Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/base/pattern.xtm


;; A pattern variable. Matches a datum iff the (optional)
;; predicate holds, and binds it to the supplied name. If the
;; name is already bound, matches a datum iff the predicate holds
;; and the datum is c{equal?} to the bound value.
(define (p:variable name #!optional predicate?)

Back to Index

Similar Entries