ELI5: Explain Like I'm 5

Format (Common Lisp)

Okay kiddo, you know how when you write a story, you have to follow rules like making sure you start a new sentence with a capital letter and use periods to finish a sentence? Format in Common Lisp is kind of like those rules for telling the computer what to do.

In Common Lisp, format is a tool for controlling how text is printed out. It helps make sure that things like numbers and words are spaced out correctly and that the final result is easy to read.

To use format, you have to give it some instructions on how to format your text. For example, if you want to print the number 42 with a dollar sign in front of it, you could give format these instructions:

```
(format t "$~D" 42)
```

The `t` tells the format function to print the result to the screen, and the `" $~D"` part is the instructions for how to format the number. The `~D` means to print the number as a decimal, and the `$` puts a dollar sign in front of it.

So when you run this code, you'll see the number 42 with a dollar sign in front of it printed out on the screen.

There are a lot of different instructions you can give format to format your text in different ways. But the important thing to remember is that format is just a tool to help you make your text look nice and neat when you print it out in Common Lisp.