erg 0.6.53

The Erg programming language
Documentation
1
2
3
4
5
6
7
8
9
a = {1, 2, 3, 1, 2, 3} # {1, 2, 3} in no particular order
assert {1, 2, 3} == {1, 2, 3}
b = {"a", "a", "b", "b", "a", "b"} # {"a", "b"} in no particular order
assert {"a", "b"} == {"a", "b"}

c: {Int; _} = {-1, 1, -1, 1} # {-1, 1}

# If the object does not implement `Eq`, a compile error will occur
print! {1.0, 1.0} # compile error