[Haskell-cafe] How to pass a polymorphic function in a record?