summaryrefslogtreecommitdiff
path: root/docs/index.md
diff options
context:
space:
mode:
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)