Syntax cheatsheet:

// types
1
1.1
true
false
nil

// conditionals
if condition { x } else { y }

// let statements
let x = 42

// let expressions (allowed inside blocks)
{
    let x = 42;
    x + 1
}

import A
import A.B

A.x

fn { body }
fn x { body }
fn x, y { body }


a |> f(x, y)
// desugars to
f(a, x, y)


{
    use a <- f(x, y)
    expr
}
// desugars to
f(x, y, fn a { expr })