erg 0.6.53

The Erg programming language
Documentation
1
2
3
4
5
6
f x: [{""}; _] = None

arr = ["aaa"]
for! arr, elem =>
    a = ["", "aaa"] # [{"", "aaa"}; 2]
    f a # ERR: type mismatched