Learning Haskell and FP

Fritz Ruehr [email protected]
Tue, 16 Jan 2001 16:38:13 -0800


Erik Meijer said:

> Not many other imperative languages have statements as first class citizens.

I don't have the details here (e.g., an Algol 68 report), but Michael Scott
reports in his "Programming Language Pragmatics" text (p. 279) that:

    "Algol 68 [allows], in essence, indexing into an array of statements,
    but the syntax is rather cumbersome."

This is in reference to historical variations on switch-like statements (and
consistent with a running theme, typical in PL texts, about the extremes of
orthogonality found in Algol 68).

  --  Fritz Ruehr
      [email protected]