aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/ffi.lua.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/ffi.lua.lux')
-rw-r--r--stdlib/source/documentation/lux/ffi.lua.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/documentation/lux/ffi.lua.lux b/stdlib/source/documentation/lux/ffi.lua.lux
index 79d6f03ac..0126a5117 100644
--- a/stdlib/source/documentation/lux/ffi.lua.lux
+++ b/stdlib/source/documentation/lux/ffi.lua.lux
@@ -1,6 +1,6 @@
(.using
[library
- [lux {"-" int char type :as}
+ [lux {"-" int char type}
["$" documentation {"+" documentation:}]
[data
["[0]" text {"+" \n}
@@ -17,9 +17,9 @@
(documentation: /.closure
(format "Allows defining closures/anonymous-functions in the form that Lua expects."
\n "This is useful for adapting Lux functions for usage by Lua code.")
- [(: ..Function
- (closure [left right]
- (do_something (:as Foo left) (:as Bar right))))])
+ [(is ..Function
+ (closure [left right]
+ (do_something (as Foo left) (as Bar right))))])
(.def: .public documentation
(.List $.Module)