Defining Eq instance on Fix f for functor f with Data.Functor.Foldable

前端 未结 0 426
臣服心动
臣服心动 2021-01-29 20:27

I have the following functor:

import Data.Functor.Foldable

data ExprF a
    = ENum  Integer
    | EBool Bool
    | EVar  Var
    | EOp   Op [a]
    | EIf   a a a         


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