jan tolenaar / kiezellisp / index-of-everything

Name

block

Usage

special-form

Syntax

(block name form*)

Description

A named block is similar to a do block but it also supports structured jumps by the forms redo and leave.

make-html > (block abc
                (let x 1)
                (leave abc 2)
                x)
it: 2

See also

do lambda leave prog redo