erg 0.6.53

The Erg programming language
Documentation
1
2
3
4
5
6
7
C = Class()

_ = { 1: C.new() }
_ = { C.new(): 1 } # ERR

ints_or_strs _: {.x = Int; .y = Int} or {.x = Str; .y = Str} = None
ints_or_strs({.x = 1; .y = "a"}) # ERR