p:matches?   scheme


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

Implementation

;; @ignore
;; True if c{pattern} matches c{datum}, false otherwise.
(define (p:matches? pattern datum)
  (p:if-matches pattern datum (constant #t) (constant #f)))


Back to Index