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    Slide 10 : 20

Abstractions in LAML 

A powerful abstraction mechanism is extremely useful for the professional WWW author

In that respect WWW authoring is analogous to program development


(load (string-append laml-dir "laml.scm"))
(style "simple")
(load (string-append (startup-directory scheme-system) "functions.scm"))

  "Demonstration of abstractions"
    (standard-intro "My FAQ")
     (map present-faq-entry
          (faq-entry  'teacher
            "What is Lisp"
            "Lisp is a list processing language...")

          (faq-entry  'student
            "What is LAML"
            "LAML is Scheme in which HTML is mirrored...")

          (faq-entry  'student
            "What is the main differences between Scheme and Lisp"
            "Scheme is a relatively small, but powerful Lisp dialect...")
  white black blue blue


includes/functions.scmThe implementation of the abstractions.


The developed LAML document styles represent sets of domain specific abstractions