来源:https://stackoverflow.com/questions/63667281/associate-a-function-with-a-type-in-haskell 标签 haskell record typeclass