On this page:
block
8.12

6.12 Block🔗ℹ

expression

block:

  body

  ...

Returns the result of the body block, which may include local definitions.

More precisely, block introduces an implicit use of #%body (see Implicit Forms), which is usually #%body.

> block:

    1

    2

2

> block:

    let one = 1

    one + one

2