aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
authorEduardo Julian2017-03-24 17:09:57 -0400
committerEduardo Julian2017-03-24 17:09:57 -0400
commitf6cb4f22329a4c60821fbd03749667adc703b19b (patch)
treef6d6aaf39167f0fa4ecdd14d191ea70ece28a2bc /stdlib/source
parenta33a0b4767ce510438a62a0108585c36b44df3aa (diff)
- Renamed "end" to "end!".
Diffstat (limited to 'stdlib/source')
-rw-r--r--stdlib/source/lux/macro/syntax.lux4
-rw-r--r--stdlib/source/lux/math/simple.lux10
-rw-r--r--stdlib/source/lux/type/auto.lux4
3 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/lux/macro/syntax.lux b/stdlib/source/lux/macro/syntax.lux
index d77fba6b1..4b8339b8e 100644
--- a/stdlib/source/lux/macro/syntax.lux
+++ b/stdlib/source/lux/macro/syntax.lux
@@ -274,7 +274,7 @@
output output
)))
-(def: #export end
+(def: #export end!
{#;doc "Ensures there are no more inputs."}
(Syntax Unit)
(lambda [tokens]
@@ -488,7 +488,7 @@
(: (Syntax (Lux (List AST)))
(do Monad<Syntax>
[(~@ (join-pairs vars+parsers))
- (~ g!end) end]
+ (~ g!end) end!]
((~' wrap) (do Monad<Lux>
[]
(~ body))))))
diff --git a/stdlib/source/lux/math/simple.lux b/stdlib/source/lux/math/simple.lux
index f1ef2359b..aaffaa967 100644
--- a/stdlib/source/lux/math/simple.lux
+++ b/stdlib/source/lux/math/simple.lux
@@ -45,7 +45,7 @@
[(syntax: #export (<name> [args ($_ s;alt
(s;seq (s;alt s;symbol s;any)
(s;some s;any))
- s;end)])
+ s;end!)])
## {#;doc (doc (= (<name> +1 +2)
## (<nat-op> +1 +2))
## (= (<name> 1 2)
@@ -109,7 +109,7 @@
[(syntax: #export (<name> [args ($_ s;alt
(s;seq (s;alt s;symbol s;any)
(s;some s;any))
- s;end)])
+ s;end!)])
## {#;doc (doc (= (<name> +1 +2)
## (<nat-op> +1 +2))
## (= (<name> 1 2)
@@ -173,7 +173,7 @@
[(syntax: #export (<name> [args ($_ s;alt
(s;seq (s;alt s;symbol s;any)
(s;some s;any))
- s;end)])
+ s;end!)])
## {#;doc (doc (= (<name> +1 +2)
## (<nat-op> +1 +2))
## (= (<name> 1 2)
@@ -218,7 +218,7 @@
[(syntax: #export (<name> [args ($_ s;alt
s;symbol
s;any
- s;end)])
+ s;end!)])
## {#;doc (doc (= (<name> +1 +2)
## (<nat-op> +1 +2))
## (= (<name> 1 2)
@@ -263,7 +263,7 @@
[(syntax: #export (<name> [args ($_ s;alt
s;symbol
s;any
- s;end)])
+ s;end!)])
## {#;doc (doc (= (<name> +1 +2)
## (<nat-op> +1 +2))
## (= (<name> 1 2)
diff --git a/stdlib/source/lux/type/auto.lux b/stdlib/source/lux/type/auto.lux
index edf1153b7..fa658ffb8 100644
--- a/stdlib/source/lux/type/auto.lux
+++ b/stdlib/source/lux/type/auto.lux
@@ -318,8 +318,8 @@
(` ((~ (ast;symbol constructor)) (~@ (List/map instance$ dependencies))))))
(syntax: #export (::: [member s;symbol]
- [args (s;alt (s;seq (s;some s;symbol) s;end)
- (s;seq (s;some s;any) s;end))])
+ [args (s;alt (s;seq (s;some s;symbol) s;end!)
+ (s;seq (s;some s;any) s;end!))])
{#;doc (doc "Automatic structure selection (for type-class style polymorphism)."
"This feature layers type-class style polymorphism on top of Lux's signatures and structures."
"When calling a polymorphic function, or using a polymorphic constant,"