holey-bytes/hblang/text-prj/pkg.hb

20 lines
226 B
Plaintext
Raw Normal View History

2024-07-19 07:24:58 -05:00
global := 10
2024-07-20 11:52:24 -05:00
Structa := struct {
foo: int,
goo: int,
}
create_window := fn(): WindowID {
return WindowID.(1, 2)
}
WindowID := struct {
host_id: int,
window_id: int,
}
2024-06-01 13:29:35 -05:00
fib := fn(n: int): int {
2024-07-19 07:24:58 -05:00
return n + 1
2024-06-01 13:29:35 -05:00
}