A functional prelude for Emacs