【发布时间】:2016-01-11 21:33:06
【问题描述】:
我正在尝试从一个非常简单的 Isabelle 程序生成代码。
typedef point = "{p::(real*real). True}" by(auto)
definition xCoord :: "point ⇒ real" where "xCoord P ≡ fst(Rep_point P)"
export_code xCoord in Haskell module_name Example file code
但得到错误:
No code equations for Rep_point
反正我不明白。究竟缺少什么?
【问题讨论】: