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 64071a8..5d8ba9d 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -30,7 +30,7 @@ readFile("filename", callback(data))
// Continue while readFile is running
// --- langauge equivalent
// Do Soemthing
-Fn[name; callback] $ (
+([name; callback]
`use "io" [open; read]
callback `sync read `sync open `sync name
) `async ("filename"; callback)