/Prelude-v21.1.0/XML/attribute.dhall

Copy path to clipboard

Builds a key-value record with a Text key and value.

Source

--| Builds a key-value record with a Text key and value.
let attribute
: Text → Text → { mapKey : Text, mapValue : Text }
= λ(key : Text) → λ(value : Text) → { mapKey = key, mapValue = value }

in attribute