LAML
- slide 10 : 24
Mirroring of HTML (1)
(f 'a1 "v1" 'a2 "v2" "Some text." "More text")
<f a1="v1" a2="v2"> Some text. More text</f>
The mirror function
f
distinguishes between
attribute names
,
attribute values
,
explicit white space
,
character references
,and
content strings
via the runtime types of the parameters together with their mutual position in the parameter list.