Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] nth element of a vector

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] nth element of a vector


Chronological Thread 
  • From: Dominique Larchey-Wendling <dominique.larchey-wendling AT loria.fr>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] nth element of a vector
  • Date: Wed, 20 May 2020 17:29:19 +0200 (CEST)

Quick fix ... project your vector into a list ;-)


----- Mail original -----
> De: "Fritjof Bornebusch" <fritjof AT uni-bremen.de>
> À: "coq-club" <coq-club AT inria.fr>
> Envoyé: Mercredi 20 Mai 2020 17:15:33
> Objet: [Coq-Club] nth element of a vector

> Hi there,
>
> I'm looking for a function that iterates over a vector -
> https://coq.inria.fr/library/Coq.Vectors.Vector.html - and returns
> the Zth element, like the nth element of a list.
>
> The library function only dealy with the Fin.t type, but I need Z.
> Does anyone has a suggestion or hint?
>
> Best Regards,
> --f.



Archive powered by MHonArc 2.6.19+.

Top of Page