status: draft (2020-06-25)
keywords: Binding, Control Flow, Pattern MatchingSee also SRFI 2: AND-LET*: an AND with local bindings, a guarded LET* special form and SRFI 200: Pattern Matching.
The SRFI-2 library introduced the
for short-circuited evaluation in the style of the
form with the ability to capture the (non-
in the style of the
let* form. This document extends
and-let* form with the abilities to pattern-match
(or "destructurally bind") the values of evaluated expressions
(where the match failure causes short-circuiting, rather than
raising an error), and to handle multiple values (where only the
falsehood of the first value causes short-circuiting).