How to use the any function in haskell?

后端 未结 0 585
不思量自难忘°
不思量自难忘° 2020-11-29 09:36

I have written something like this

gameOver :: Board -> Bool
gameOver testboard
= any checksingle ( nub (rows testboard))
  where 
    checksingle :: [Cell         


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