summaryrefslogtreecommitdiff
path: root/docs/index.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-09 10:32:38 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-09 10:32:38 -0400
commita13b72d789c6e2ee3d94bd1b19aad3dda0aea3c3 (patch)
tree218fe41676c6a103410fc423d7c3b5c9f3da48ca /docs/index.md
parent4da9de3213a28c7e17945168acdb06308bb41df8 (diff)
inline fn defs
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)