diff options
author | Eduardo Julian | 2020-08-12 01:01:30 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-08-12 01:01:30 -0400 |
commit | ddcc768d9d2e798814989037a286df9951840bcd (patch) | |
tree | 1db8ae1685671765dc71358853b412b279007f1d /stdlib/source/lux/data/format | |
parent | 56fa0ab84c1112ea297c46814e580ca8d11b101e (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.lux | 14 |
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) |