Compilation issue with existential types in Haskell

后端 未结 0 619
滥情空心
滥情空心 2020-11-30 00:40

I\'ve written a simple typeclass Shape:

class Shape a where
  draw   :: a -> IO ()
  move   :: (Double,         


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