match-number   scheme


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

Implementation

(define match-number
  (lambda (e em)
    (if (not (number? em)) MATCH-FAILED
        (if (= e em)
            MATCH-TRUE ;; e
            MATCH-FAILED))))


Back to Index