[Haskell-cafe] Re: How can I refactor this code?