navid/haze / cb1bac46fbd9fca0f0e2a401590740b0840b47821983a25743fc29c1572577d9 / tests/lsp/seq.hz

seq.hz

← tests/lsp · 133 bytes · raw · download

pub fn range(a i32, b i32) list[i32] => [a, b]

pub pure fn double(x i32) i32 => x * 2

pub type Pair {
    left i32
    right i32
}