Can we obtain the identity, constant, and fixpoint datatype constructors for arbitrary type-producing kinds?

后端 未结 0 600
无人及你
无人及你 2021-01-04 08:07

Here are some type constructors:

type T0 = Type

type I0 :: T0 -> T0
data I0 x = I0 { getI0 :: x }

type K0 :: T0 -> (T0 -> T0)
data K0 x y = K0 { ge         


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