custom-match   scheme


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

Implementation

;; matches "x" and "y" only
(define custom-match
  (lambda (x) 
    (and (string? x) 
         (or (string=? x "x") 
             (string=? x "y")))))


Back to Index