How might I be able to write multiple function definitions for multiple types in a polymorphic manner in Haskell?

后端 未结 0 526
后悔当初
后悔当初 2021-01-16 07:26

Given my type definitions:

data Tile = Revealed | Covered deriving (Eq, Show)
data MinePit = Clean | Unsafe deriving (E         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题