On this page:
block
block
8.18

3.5 Block🔗ℹ

expression

block:

  body

  ...

 

repetition

block:

  repet

  ...

Returns the result of the body block, which may include local definitions in the case of an expression use of block (but not a repetition use of block).

> block:

    1

    2

2

> block:

    let one = 1

    one + one

2