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