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

20 lines
226 B
Plaintext
Raw Normal View History

2024-07-19 12:24:58 +00:00
global := 10
2024-07-20 16:52:24 +00: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 18:29:35 +00:00
fib := fn(n: int): int {
2024-07-19 12:24:58 +00:00
return n + 1
2024-06-01 18:29:35 +00:00
}