找不到 Coq Lists 库中的引用
Reference in Coq Lists library not found
我正在尝试使用 concat
函数,因为它出现在 https://coq.inria.fr/distrib/current/stdlib/Coq.Lists.List.html 中。我尝试了以下方法:
Require Import Arith Coq.Lists.List.
Import ListNotations.
Definition CON (l : list nat):= (concat [[0]; l]).
但我收到错误 Error: The reference concat was not found in the current environment.
我认为这应该可行,因为我已经导入了库,所以我不知道这个错误从何而来。
我使用的是 8.4pl3 版(2014 年 1 月)。可能是版本问题?
concat
已添加到 this 提交中。我认为它接近 8.4pl3 版本的末尾所以它没有被推到版本,而是推到下一个 8.5
我正在尝试使用 concat
函数,因为它出现在 https://coq.inria.fr/distrib/current/stdlib/Coq.Lists.List.html 中。我尝试了以下方法:
Require Import Arith Coq.Lists.List.
Import ListNotations.
Definition CON (l : list nat):= (concat [[0]; l]).
但我收到错误 Error: The reference concat was not found in the current environment.
我认为这应该可行,因为我已经导入了库,所以我不知道这个错误从何而来。
我使用的是 8.4pl3 版(2014 年 1 月)。可能是版本问题?
concat
已添加到 this 提交中。我认为它接近 8.4pl3 版本的末尾所以它没有被推到版本,而是推到下一个 8.5