diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-05-22 13:13:47 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-05-22 13:13:47 -0400 |
| commit | aa58218da7a3ce3587a768f85323c3ce2212f6b2 (patch) | |
| tree | 18f49b3d00d946cb4efb1562397b255909670395 /docs/type_system/fn.md | |
| parent | c71cd186644570eb25c45ded7837b0e7aa54987a (diff) | |
add operators for bit type
Diffstat (limited to 'docs/type_system/fn.md')
| -rw-r--r-- | docs/type_system/fn.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/type_system/fn.md b/docs/type_system/fn.md index 78c7918..dbc8251 100644 --- a/docs/type_system/fn.md +++ b/docs/type_system/fn.md @@ -22,12 +22,12 @@ Return `Void` to stop iteration ```text fn : Fn[n] $ ( @ 1 .. n { `yield 2 * x }[x] ) -it : fn `sync 10 +it : fn `call 10 // invoking @ it { `log v }[v] // 2 4 6 8 10 12 14 16 18 20 // same as above @ { - # `sync it { + # `call it { .value { `log v }[v] .done { `break } } @@ -36,15 +36,15 @@ it : fn `sync 10 # Calling -## \`async +## \`fork ```text -task : `async fn +task : `fork fn value : `wait task ``` -## \`sync +## \`call ```text -fn `sync args // `wait fn `async args +fn `call args // `wait fn `task args ``` |
