main shrub/kav / examples / hello.kav
1use <buffer.kav> as buf
2
3pub fn main(w: World) -> World {
4    val _  = buf::stdout(w)
5        |> buf::puts("hello, world\n")
6        |> buf::close()
7    w
8}