【发布时间】:2016-04-09 05:19:49
【问题描述】:
我安装了 Agda(2.3.2.2 版)和标准库(0.7 版)。
我可以加载不导入标准库的程序。
比如我可以加载
data Bool : Set where
true : Bool
false : Bool
not : Bool -> Bool
not false = true
not true = false
但是,我无法加载
open import Data.Bool
data Bool : Set where
true : Bool
false : Bool
not : Bool -> Bool
not false = true
not true = false
当我加载标准库时,出现以下错误。
/Users/my_name/.cabal/share/Agda-2.3.2.2/lib-0.7/src/Level.agda:27,1-32
Duplicate binding for built-in thing LEVEL, previous binding to.Agda.Primitive.Level
when checking the pragma BUILTIN LEVEL Level
有什么办法可以解决这个错误吗?
【问题讨论】:
标签: installation standard-library agda