Most fixes done, build working (without typecheck fixes, is_scoped proper propogation and executor views)

This commit is contained in:
ProgramSnail 2024-09-01 14:19:56 +03:00
parent d02c3a637b
commit 5891066414
33 changed files with 1391 additions and 960 deletions

View file

@ -33,8 +33,7 @@ func {
: example of function with optional arguments (without type annotation)
: real type is 'A? 'A? -> 'A?
sum 'a? 'b? =
'a & 'b =: %a? & %b? => a + b
=: _ => null;
'a & 'b =: %a => a;
: example that shows that default annotations are argument names (without ')