Skip to content
Menu
Contents

Reading the tags

pure

Same arguments, same result; touches nothing outside.

pure if arg2 is

Pure when that argument is a pure function; otherwise as impure as it is.

impure

Reads or changes something outside the program.

Bool

3 functions

Functions on Bool. Bert has no &&, || or ! operators; these are how booleans combine.

Bool.and(Bool.not(false), true)
Returns
true

At a glance

  • not

    true for false, and false for true.

  • and

    Both arguments are evaluated before the call, as for any function: and is not short-circuiting.

  • or

    Both arguments are evaluated before the call, as for any function: or is not short-circuiting.

Functions

not

(Bool) -> Boolpure

true for false, and false for true.

and

(Bool, Bool) -> Boolpure

Both arguments are evaluated before the call, as for any function: and is not short-circuiting.

or

(Bool, Bool) -> Boolpure

Both arguments are evaluated before the call, as for any function: or is not short-circuiting.

Reading the tags

pure

Same arguments, same result; touches nothing outside.

pure if arg2 is

Pure when that argument is a pure function; otherwise as impure as it is.

impure

Reads or changes something outside the program.