plt-match.ss: Pattern Matching
To load: (require (lib "plt-match.ss"))
This library provide a pattern matcher just like Chapter 25, but with an improved syntax for patterns. This pattern syntax uses keywords for each of the different pattern matches, making the syntax both extensible and more clear. It also provides extensions that are unavailable in match.ss.
The only difference between plt-match.ss and match.ss is the syntax of the patterns and the set of available patterns. The forms where the patterns may appear are identical.
Figure 2 gives the full syntax for patterns.
| ||
Figure 2: Pattern Syntax | ||
|