aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/format/xml.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/data/format/xml.lux')
-rw-r--r--stdlib/source/library/lux/data/format/xml.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/data/format/xml.lux b/stdlib/source/library/lux/data/format/xml.lux
index 90aaa1b1e..f2064c166 100644
--- a/stdlib/source/library/lux/data/format/xml.lux
+++ b/stdlib/source/library/lux/data/format/xml.lux
@@ -58,10 +58,10 @@
(|> (do <>.monad
[hex? (<>.maybe (<text>.this "x"))
code (case hex?
- #.None
+ {.#None}
(<>.codec int.decimal (<text>.many <text>.decimal))
- {#.Some _}
+ {.#Some _}
(<>.codec int.decimal (<text>.many <text>.hexadecimal)))]
(in (|> code .nat text.of_char)))
(<>.before (<text>.this ";"))
@@ -92,10 +92,10 @@
[first_part xml_identifier
?second_part (<| <>.maybe (<>.after (<text>.this ..namespace_separator)) xml_identifier)]
(case ?second_part
- #.None
+ {.#None}
(in ["" first_part])
- {#.Some second_part}
+ {.#Some second_part}
(in [first_part second_part]))))
(def: tag^ namespaced_symbol^)
@@ -159,7 +159,7 @@
(Parser XML)
(|> (..spaced^ (<text>.many xml_char^))
(<>.either cdata^)
- (<>\each (|>> #Text))))
+ (<>\each (|>> {#Text}))))
(def: null^
(Parser Any)