prelude module

Maylang standard-library module.

import "prelude" as prelude;

Functions

id

may
fun id<T>(x: T) -> T

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

inc

may
fun inc(x: Int) -> Int

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

dec

may
fun dec(x: Int) -> Int

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

truthy

may
fun truthy(x: Any) -> Bool

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

default

may
fun default<T>(value: Optional<T>, fallback: T) -> T

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source