The Art of Computer Programming solutions (in Haskell).