Defaulting typeclass instances in Haskell and PureScript

后端 未结 0 818
北恋
北恋 2021-01-29 17:07

I have a simple class that has an instance for Int and []/Array in Haskell/PureScript:

HS:

class C c where f :: c -&         


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