"Little Schemer"-style fun with functions