aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/type.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/type.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/type.lux b/stdlib/source/lux/type.lux
index 79f13333d..376d40d67 100644
--- a/stdlib/source/lux/type.lux
+++ b/stdlib/source/lux/type.lux
@@ -336,8 +336,8 @@
+0 elem-type
_ (|> elem-type (array (dec level)) (list) (#.Primitive "#Array"))))
-(syntax: #export (:log! {input (p.alt s.identifier
- s.any)})
+(syntax: #export (:log! {input (p.or s.identifier
+ s.any)})
(case input
(#.Left valueN)
(do @
@@ -377,7 +377,7 @@
(def: typed
(Syntax Typed)
- (s.record (p.seq s.any s.any)))
+ (s.record (p.and s.any s.any)))
(syntax: #export (:share {type-vars type-parameters}
{exemplar typed}