Chapter 5

Functional Programming in Scheme

A functional programming language gives a simple model of programming: one value, the result, is computed on the basis of others, the inputs.

— Simon Thompson, Haskell: The Craft of Functional Programming (2007)

The spirit of Lisp hacking can be expressed in two sentences. Programming should be fun. Programs should be beautiful.

—Paul Graham, ANSI Common Lisp (1996)

[L]earning Lisp will teach you more than just a new language—it will teach you new and more powerful ways of thinking about programs.

—Paul Graham, ANSI Common Lisp (1996)

A minute to learn . . . A lifetime to master.

—Slogan for the game Othello

FUNCTIONAL programs operate by returning values rather than modifying variables—which ...

Get Programming Languages: Concepts and Implementation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.