[Haskell-beginners] Haskell equivalent to Clojure's partition fn