Reputation: 59
I'm trying to use the concat
function as it appears in https://coq.inria.fr/distrib/current/stdlib/Coq.Lists.List.html. I tried the following:
Require Import Arith Coq.Lists.List.
Import ListNotations.
Definition CON (l : list nat):= (concat [[0]; l]).
but I get the error Error: The reference concat was not found in the current environment.
I thought this should work since I've already imported the library, so I don't know where this error comes from.
I'm using version 8.4pl3 (January 2014). Could be a version issue?
Upvotes: 1
Views: 125