【发布时间】:2019-10-01 15:00:01
【问题描述】:
从只将类型定义为假设的 Agda 模块开始
module M where
postulate
U : Set
我希望能够以不同的方式定义 U。例如:
module B where
open M public
-- define U as Bool
和
module N where
open M public
-- define U as Nat
有没有办法在 Agda 中做到这一点?
【问题讨论】: