summaryrefslogtreecommitdiff
path: root/docs/index.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-02 16:26:09 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-02 16:26:09 -0400
commitb26ad08b39b8229dcea0bafc4a8ba4b0d7ad7154 (patch)
tree1a469cc7f1ab2bbf2af42336518fa19ad0d0ed76 /docs/index.md
parentba087e5dbcc50537d82da5dbc602df7292d3f24c (diff)
reformat with sync and async calls
Diffstat (limited to 'docs/index.md')
-rw-r--r--docs/index.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/index.md b/docs/index.md
index 57a8faf..afbb356 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -29,8 +29,8 @@ readFile("filename", callback(data))
// langauge equivalent
Fn[name; callback] $ (
( read_file ) : `use "io"
- callback `call read_file `call name
-) `fork ("filename"; callback)
+ callback `sync read_file `sync name
+) `async ("filename"; callback)
```
* Automatically use threads
@@ -41,6 +41,6 @@ Fn[name; callback] $ (
## Contents
-1. ##### [Syntax](./syntax/index.md)
+1. ##### [Language](./language/index.md)
2. ##### [Type System](./type_system/index.md)
3. ##### [Application](./application/index.md)