5 Mixing Scribble, Racket, and other tools

Don’t worry if these examples don’t make sense to you.

Here is a bit of code from my "config.scrbl" file:

#lang scribble/manual
@(require pict)
@(provide (all-defined-out))
@(define awesome-banner
   (map (lambda (x) (colorize (filled-ellipse 60 60) x))
        '("red" "orange" "yellow" "green" "blue" "indigo" "violet")))

The define bit will create a reference to a value (the list of circles) called awesome-banner, which will create the following graphic wherever I use @awesome-banner: