[Haskell-beginners] What is the best practice for code]