Lesson plan

Format (Common Lisp)

Format is a function in Common Lisp that can produce formatted text using a format string similar to that of printf . It provides more functionality than print , allowing the user to output numbers in various formats (including, for instance: hex, binary, octal, Roman numerals, and English), apply certain format specifiers only under certain conditions, iterate over data structures, output data tabularly, and even recurse, calling format internally to handle data structures that include their own preferred formatting strings. This functionally originates in MIT's Lisp Machine Lisp, where it was based on Multics.

Back to article

Article summary

Format is a function in Common Lisp that can produce formatted text using a format string similar to that of printf . It provides more functionality than print , allowing the user to output numbers in various formats (including, for instance: hex, binary, octal, Roman numerals, and English), apply certain format specifiers only under certain conditions, iterate over data structures, output data tabularly, and even recurse, calling format internally to handle data structures that include their own preferred formatting strings. This functionally originates in MIT's Lisp Machine Lisp, where it was based on Multics.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.