aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/parser/xml.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/parser/xml.lux')
-rw-r--r--stdlib/source/library/lux/control/parser/xml.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/control/parser/xml.lux b/stdlib/source/library/lux/control/parser/xml.lux
index 6be4241d0..4a41dd75d 100644
--- a/stdlib/source/library/lux/control/parser/xml.lux
+++ b/stdlib/source/library/lux/control/parser/xml.lux
@@ -38,7 +38,7 @@
["Inputs" (exception.listing (\ /.codec encoded) inputs)]))
(def: (result' parser attrs documents)
- (All [a] (-> (Parser a) Attrs (List XML) (Try a)))
+ (All (_ a) (-> (Parser a) Attrs (List XML) (Try a)))
(case (//.result parser [attrs documents])
(#try.Success [[attrs' remaining] output])
(if (list.empty? remaining)
@@ -49,7 +49,7 @@
(#try.Failure error)))
(def: .public (result parser documents)
- (All [a] (-> (Parser a) (List XML) (Try a)))
+ (All (_ a) (-> (Parser a) (List XML) (Try a)))
(..result' parser /.attributes documents))
(def: .public text
@@ -93,7 +93,7 @@
(#try.Success [[attrs documents] value]))))
(def: .public (node expected parser)
- (All [a] (-> Tag (Parser a) (Parser a)))
+ (All (_ a) (-> Tag (Parser a) (Parser a)))
(function (_ [attrs documents])
(case documents
#.End
@@ -124,7 +124,7 @@
(exception: .public nowhere)
(def: .public (somewhere parser)
- (All [a] (-> (Parser a) (Parser a)))
+ (All (_ a) (-> (Parser a) (Parser a)))
(function (recur [attrs input])
(case (//.result parser [attrs input])
(#try.Success [[attrs remaining] output])