[Haskell-cafe] Re: Functional version of this OO snippet