chickadee » basic-macros » bind

(bind pat seq (where (x x? ...) ...) xpr . xprs)syntax
(bind pat seq xpr . xprs)syntax

binds pattern varibles of a nested pseudo-list pat to corresponding expressions of the nested pseudo-list seq and executes the body xpr . xprs in this context, provided all fenders (x? x) ... are passed, if there are any. Note, that the underscore symbol serves as wildcard, which binds nothing, and literals in pat and seq must match.

Must be used for-syntax if used to destucture macro-code in explicit- or implicit-renaming macros.

This is a restricted version of the equally named macro in the bindings library.