aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux.lux')
-rw-r--r--stdlib/source/lux.lux8
1 files changed, 2 insertions, 6 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux
index 6b29d7c42..58f8d342a 100644
--- a/stdlib/source/lux.lux
+++ b/stdlib/source/lux.lux
@@ -3269,7 +3269,7 @@
(-> Text Bottom)
(_lux_proc ["io" "error"] [message]))
-(macro: #export (default tokens state)
+(macro: (default tokens state)
{#;doc "## Allows you to provide a default value that will be used
## if a (Maybe x) value turns out to be #;None.
(default 20 (#;Some 10)) => 10
@@ -5743,10 +5743,6 @@
)))))
))
-(def: #export assume
- (All [a] (-> (Maybe a) a))
- (|>. (default (undefined))))
-
(macro: #export (as-is tokens compiler)
(#;Right [compiler tokens]))
@@ -5755,7 +5751,7 @@
(^multi (^ (list [_ (#Text input)]))
(n.= +1 (_lux_proc ["text" "size"] [input])))
(|> (_lux_proc ["text" "char"] [input +0])
- assume
+ (default (undefined))
nat$ list
[compiler] #;Right)