rudus/sandbox.ld

14 lines
117 B
Plaintext
Raw Normal View History

2025-06-23 00:43:51 +00:00
fn arity {
() -> 0
(_) -> 1
(_, _) -> 2
(_, _, ...) -> {
and (1, 2, 3)
:many
}
}
2025-06-23 00:43:51 +00:00
arity(:foo, :bar, :baz)