aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/parser
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 14:19:07 -0400
committerEduardo Julian2022-06-12 14:19:07 -0400
commit616ce8051f59f956fedc57780f5a8fefa16dd61d (patch)
treed0cf43811d8414730cd52fb0d509c7cbc7032cda /stdlib/source/parser
parent8c3a1afab9efeb86e2f53d743551fc689fbad257 (diff)
Re-named "partial_list" to "list.partial".
Diffstat (limited to 'stdlib/source/parser')
-rw-r--r--stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux
index 159c1c62e..0eca3ae24 100644
--- a/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux
+++ b/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux
@@ -91,7 +91,7 @@
(Parser <type>)
(function (_ input)
(case input
- (pattern (partial_list (<tag> x) input'))
+ (pattern (list.partial (<tag> x) input'))
{try.#Success [input' x]}
_
@@ -101,7 +101,7 @@
(-> <type> (Parser Any))
(function (_ input)
(case input
- (pattern (partial_list (<tag> actual) input'))
+ (pattern (list.partial (<tag> actual) input'))
(if (at <eq> = expected actual)
{try.#Success [input' []]}
(exception.except ..cannot_parse input))
@@ -124,7 +124,7 @@
(All (_ a) (-> (Parser a) (Parser a)))
(function (_ input)
(case input
- (pattern (partial_list (/.tuple head) tail))
+ (pattern (list.partial (/.tuple head) tail))
(do try.monad
[output (..result parser head)]
{try.#Success [tail output]})