Warning: session_start(): open(/var/lib/php/sessions/sess_aqlea4gd4kov33407q7smoa3f7, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
// Reification of an operator in a type-safe language
// -has a name
// -has 0 or more arguments
// -each argument has a type and can have a name (otherwise it gets some default name like "argument 1")
// -has an optional return type (or return type null for no return value)
// -to return multiple values, use a struct type
// T is the meta-type for argument and return types
sclass GOperator {
S name;
new L arguments;
T returnType;
record Argument(int index, S name, T type) {}
}