Skip to Content.
Sympa Menu

coq-club - Re: Re: [Coq-Club] Converting Orders.OrderedType to OrderedType.OrderedType?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: Re: [Coq-Club] Converting Orders.OrderedType to OrderedType.OrderedType?


chronological Thread 
  • From: brandon_m_moore AT yahoo.com
  • To: coq-club AT inria.fr
  • Subject: Re: Re: [Coq-Club] Converting Orders.OrderedType to OrderedType.OrderedType?
  • Date: Fri, 2 Dec 2011 21:04:56 +0100

> These modules are already given in the standard library, look in
> theories/Structures/OrderedTypeEx.v for Nat_as_OT for example.

Thanks. That answers the problem of getting a Nat_as_OT suitable for FMap.

It doesn't seem to provide a general conversion functor, which might not be
that useful overall, but would at least be applicable for cases such as Q
(maybe for an FSet).



Archive powered by MhonArc 2.6.16.

Top of Page