erg 0.6.53

The Erg programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
add x, y =
    x + y

print! add(1, 1)
print! add(1.0, 1)
print! add("a", "b")

close_add|A <: Add(A)| x: A, y: A =
    x + y

print! close_add 1, 1
print! close_add 1.0, 1
print! close_add "a", "b"