| Slide 15 : 26 |
(load (string-append laml-dir "laml.scm"))
(laml-style "simple-xhtml1.0-transitional-validating")
(define map (curry-generalized map))
(define row list)
(define sample-table
(list
(row "This" "is" "row" "1")
(row "This" "is" "row" "2")
(row "This" "is" "row" "3")
(row "This" "is" "row" "4")))
(write-html '(pp prolog)
(html
(head
(title "Table Examples"))
(body
(table 'border "1" (map (compose tr (map td)) sample-table) )
)
)
)
(end-laml)
![Previous page: Working with higher-order functions in LAML [Section] -- Keyboard shortcut: 'p' Previous page: Working with higher-order functions in LAML [Section] -- Keyboard shortcut: 'p'](./images/nav-left.gif)





