erg_compiler 0.6.16-nightly.7

Centimetre: the Erg compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
id x = x

if__ cond, then, else = if cond, then, else

for__! i, proc! = for! i, proc!

add x, y = x + y

abs_ x = x.abs()


Norm = Trait { .norm = (self: Self) -> Nat }
norm x = x.norm()