SRFI 204: Wright-Cartwright-Shinn Pattern Matcher

by Felix Thibault

status: withdrawn (2022-02-02)

keywords: Pattern Matching

See also SRFI 200: Pattern Matching, SRFI 201: Syntactic Extensions to the Core Scheme Bindings, SRFI 204: Wright-Cartwright-Shinn Pattern Matcher, and SRFI 241: Match — Simple Pattern-Matching Syntax to Express Catamorphisms on Scheme Data.

Abstract

Pattern matching decomposes a compound data structure into parts and assigns those parts to variables. This SRFI describes a pattern-matching library already in use by several scheme implementations which can match many common compound data structures.