->

Forward Redirect: Load resource and redirect to the right.

Variable

>> Block

Import unassigned variable into a code block.

@(x: int = 0, y: float = 0.0) -> { ... }

* The types of variables can be

either => declared in the definition

or => automatically inferenced in the block.

** Warning: The unassigned variable `x` is never used and is therefore discarded.

>> Function

Define local variables which only live in the scope of a function.

@(x, y) -> f := {
    ...
}

Dependency

>> Space

Import external packages (dependencies) into a code space.

@(
 "math", 
 "time",
) -> { ... }

Read (Import)

=> Mutable

@(d) <- @("./data.json"); // Comprehensive

@(d <- "./data.json"); // Recursive

=> Immutable

d := <- @("./data.json");

Last updated