summaryrefslogtreecommitdiff
path: root/docs/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.md')
-rw-r--r--docs/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.md b/docs/index.md
index 08e02d1..64071a8 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -31,7 +31,7 @@ readFile("filename", callback(data))
// --- langauge equivalent
// Do Soemthing
Fn[name; callback] $ (
- ( read; open ) `use "io"
+ `use "io" [open; read]
callback `sync read `sync open `sync name
) `async ("filename"; callback)
// Continue while readFile is running