aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/host.js.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/host.js.lux')
-rw-r--r--stdlib/source/lux/host.js.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/host.js.lux b/stdlib/source/lux/host.js.lux
index 258de1b8d..5f334fb46 100644
--- a/stdlib/source/lux/host.js.lux
+++ b/stdlib/source/lux/host.js.lux
@@ -52,7 +52,7 @@
(` (;_lux_proc ["js" "object"] []))
kvs))))
-(syntax: #export (ref [name s;text] [type (p;opt s;any)])
+(syntax: #export (ref [name s;text] [type (p;maybe s;any)])
{#;doc (doc "A way to refer to JavaScript variables."
(ref "document")
(ref "Math.ceil" (-> Frac Frac)))}
@@ -69,8 +69,8 @@
[undef "undefined" "Undefined."]
)
-(syntax: #export (call! [shape (p;alt ($_ p;seq s;any (s;tuple (p;some s;any)) (p;opt s;any))
- ($_ p;seq s;any s;text (s;tuple (p;some s;any)) (p;opt s;any)))])
+(syntax: #export (call! [shape (p;alt ($_ p;seq s;any (s;tuple (p;some s;any)) (p;maybe s;any))
+ ($_ p;seq s;any s;text (s;tuple (p;some s;any)) (p;maybe s;any)))])
{#;doc (doc "A way to call JavaScript functions and methods."
(call! (ref "Math.ceil") [123.45])
(call! (ref "Math") "ceil" [123.45]))}