Algebraic Infix Syntax

Languages based on LISP typically use a notation called fully-parethesized prefix syntax. This consists of innumerable nested paretheses, as seen in the following Scheme version of the shoe-size function:

(define (shoe-size person)
  (if (equal? person "Joe")
    14
    11))
      

This has a certain elegance, but takes some time to learn to read. Dylan, as shown in the previous section, uses a syntax similar to those of C and Pascal.