[Haskell-beginners] generating the set of all finite-valued functions on a finite space