Purescript Eq type class for function

前端 未结 0 456
礼貌的吻别
礼貌的吻别 2021-01-04 09:16
data L = A | B
data H a = H a
data X a = Some (L -> H a)

I\'m trying to derive Eq for X:

derive instance eqX :: Eq a => Eq (X a         


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