6.3.90.900
4 mutable-match-lambda forms for hash-lambda
(require hash-lambda/mutable-match-lambda) | |
package: hash-lambda |
like hash-lambda/match, except makes a mutable-match-lambda-procedure
that you can add functionality to with procedures such as mutable-match-lambda-add-clause!.
By the way, you can add other types of clauses than hash-lambda/match clauses later.
It is defined like this:
(define-syntax-rule (mutable-hash-lambda/match clause ...) (make-mutable-match-lambda/infer-name (clause->proc #:hash-lambda/match clause) ...))
Examples:
> (require hash-lambda/mutable-match-lambda)
> (examples) examples: undefined;
cannot reference undefined identifier
this form is provided so that #:hash-lambda/match can be used as a
keyword in clause->proc.
(clause->proc #:hash-lambda/match clause) expands into (clause->proc/hash-lambda/match clause).