Play audio slide show -- Keyboard shortcut: 'x'  Lecture overview -- Keyboard shortcut: 'u'  Previous page: Association lists -- Keyboard shortcut: 'p'  Next page: Tables as lists of rows -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home      Expressions, Types, and Functions - slide 23 : 46

Property lists

A property list is a flat, even length list of associations

The HTML/XML/CSS attributes are represented as property lists in LAML documents

Association list

Property list

((peter . "windows")
 (lars . "mac")
 (paw . "linux")
 (kurt . "unix"))
(peter "windows"
 lars "mac"
 paw "linux"
 kurt "unix")
laml-doc-proplist.laml
A simple LAML document with emphasis on the attributes, represented as property lists.
In the LAML general library there are functions ( alist-to-propertylist and propertylist-to-alist ) that convert between association lists and property lists