dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 4 forks source link

Support empty constructors #389

Closed niknetniko closed 1 year ago

niknetniko commented 1 year ago

Allows the use of our "cast" functions without arguments to represent "empty" values. This allows writing set() instead of set([]), which should be more intuitive for those familiar with Python.

This is currently support for "sequence" types, i.e. set, sequence, array, tuple, and "map" types, i.e. map.

Fixes #385.