Agda 安装 PLFA 配置

Agda Installation PLFA Configuration

我正在尝试使用 Programming Language Foundation with Agda plfa 库,但是导入似乎无法正常工作。

我已克隆存储库并将存储库路径添加到:~/.agda/libraries 并将 plfa 添加到 ~/.agda/defaults

当我创建一个 test.agda 文件并检查一行时

module plfa.part1.Naturals where

我收到一个导入错误:

You tried to load /Users/johngfisher/Desktop/agda_test/nats.agda
which defines the module plfa.part1.Naturals. However, according to
the include path this module should be defined in
/Users/johngfisher/agda_env/libraries/plfa/src/plfa/part1/Naturals.lagda.md

文件存在于导入的来源位置,所以我不确定为什么 Agda 找不到它。任何帮助将不胜感激。

module plfa.part1.Naturals where

定义了一个名为plfa.part1.Naturals

的模块

你是想输入

module test where

open import plfa.part1.Naturals

代替?