Sometimes I think my quest to get my functional programming skills up to snuff is turning me into a raving lunatic. I keep writing code that inflicts physical pain when kept to myself. Here’s a fresh cut and paste out of my emacs:
applyAll [] = id
applyAll fs = foldl1 (.) fs
After writing that, I immediately opened up all of my instant messenger programs in search of an imperative programmer to accost. “Don’t you see? Don’t you see how beautiful this is?” I would say. They almost never see.