-
0 votesanswersviews
在Idris中使用间接相互递归数据类型进行总体检查
我正在使用抽象语法树,我想给 Binders 提供他们自己的类型 . 这似乎给伊德里斯的整体检查带来了问题...... 有一个典型的自我参照 Tree 伊德里斯完全检查完成 . data TreeShape = Last | More TreeShape TreeShape Show TreeShape where show Last = "Leaf" show (M...