36 releases (breaking)
new 0.28.0 | Apr 15, 2025 |
---|---|
0.26.0 | Apr 15, 2025 |
0.23.0 | Mar 4, 2025 |
0.9.3 | Jun 13, 2024 |
#138 in Programming languages
54 downloads per month
130KB
3.5K
SLoC
som
An idiot admires complexity, a genius admires simplicity.
let fib = fn(n ~ int) ~ int {
n if n < 2 else fib(n - 1) + fib(n - 2)
}
fib(10)
let Option<T> = enum Some(T) | None
let Color = enum Red | Green | Blue
| Hex(string)
| Rgb(Rgb)
let Rgb = type { r ~ int, g ~ int, b ~ int }
fn print_color(color ~ Color)
print(color)
Dependencies
~14–23MB
~343K SLoC