Extend cond to support inline let, much like for

Description

I find it occasionally very useful to do a few tests in a cond, then introduce some new symbols (for both clarity and efficiency) that can be referenced in later tests (or matching expressions). This parallels similar functionality inside the for macro, where the :let keyword is matched against a vector of symbol bindings and forms an implicit let around the remainder of the comprehension.

I'll be adding a patch for this shortly.

Environment

None

Status

Assignee

Mark Engelberg

Reporter

import

Labels

None

Approval

None

Patch

Code and Test

Priority

Major