Lecture overview
Keyboard shortcut: 'u'  Previous slide in this lecture
Keyboard shortcut: 'p'  Next slide in this lecture
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide
Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    html-mirrorSlide 14 : 42

The HTML4.0 Mirror in LAML 

 

The HTML4.0 mirror is an exact mirror of version 4.0 of HTML (loose)
 


<f a1="v1" a2="v2"> Some text. More text</f>
 


(f 'a1 "v1" 'a2 "v2" "Some text." "More text")
 

 

The mirror function f distinguishes between attribute names, attribute values, and content strings via the runtime types of the parameters together with their mutual position in the parameter list