aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format
diff options
context:
space:
mode:
authorEduardo Julian2020-08-12 01:01:30 -0400
committerEduardo Julian2020-08-12 01:01:30 -0400
commitddcc768d9d2e798814989037a286df9951840bcd (patch)
tree1db8ae1685671765dc71358853b412b279007f1d /stdlib/source/lux/data/format
parent56fa0ab84c1112ea297c46814e580ca8d11b101e (diff)
WIP: New build-tool named Aedifex (can read project descriptions).
Diffstat (limited to 'stdlib/source/lux/data/format')
-rw-r--r--stdlib/source/lux/data/format/xml.lux14
1 files changed, 10 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/format/xml.lux b/stdlib/source/lux/data/format/xml.lux
index 0e7cfb7bf..83a3209d4 100644
--- a/stdlib/source/lux/data/format/xml.lux
+++ b/stdlib/source/lux/data/format/xml.lux
@@ -19,16 +19,22 @@
["." list ("#@." functor)]
["." dictionary (#+ Dictionary)]]]])
-(type: #export Tag Name)
-(type: #export Attrs (Dictionary Name Text))
+(type: #export Tag
+ Name)
-(def: #export attrs Attrs (dictionary.new name.hash))
+(type: #export Attrs
+ (Dictionary Name Text))
+
+(def: #export attrs
+ Attrs
+ (dictionary.new name.hash))
(type: #export #rec XML
(#Text Text)
(#Node Tag Attrs (List XML)))
-(def: namespace-separator ":")
+(def: namespace-separator
+ ":")
(def: xml-standard-escape-char^
(Parser Text)