41 breaking releases
new 0.43.0 | May 24, 2025 |
---|---|
0.41.0 | May 23, 2025 |
0.23.0 | Mar 4, 2025 |
0.9.3 | Jun 13, 2024 |
#83 in Procedural macros
854 downloads per month
82KB
2K
SLoC
som
An idiot admires complexity, a genius admires simplicity.
let fib = fn(n ~ int){
n if n < 2 else fib(n - 1) + fib(n - 2)
}
fib(10)
type Option<T> = Some(T) | None
type Rgb = { r ~ int, g ~ int, b ~ int }
type Color = Red
| Green
| Blue
| Hex(string)
| Rgb(Rgb)
let print_color = fn(color ~ Color) print(color)
Dependencies
~14–23MB
~351K SLoC