printing fixes

This commit is contained in:
ProgramSnail 2023-07-25 21:33:57 +03:00
parent 0bb72e0b10
commit 469cb3581f
23 changed files with 318 additions and 151 deletions

View file

@ -85,7 +85,7 @@ func
'a
'b
'c
: A B C -> D
: A B C -> D;
func 'a 'b 'c
:
@ -127,7 +127,7 @@ func = {
// operators, containers, modifiers
func {
func = {
x + y;
@ -167,10 +167,11 @@ func {
<> x;
x?;
}
// other
func {
func = {
x
.func a b c;

View file

@ -90,7 +90,7 @@ func_2 = {
maybe_something!;
// open optional: if null then return default value (operator)
%x := maybe_something ?| value
%x := maybe_something ?| value;
%y := Fruit @apple ();