[Haskell-beginners] How to add a "method" to a record