package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.0.1.tar.gz
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4

doc/rocq-runtime.clib/PolyMap/Make/index.html

Module PolyMap.MakeSource

Parameters

module Tag : Tag

Signature

Sourcemodule type OneTag = sig ... end
Sourcetype 'a onetag = (module OneTag with type a = 'a)

There is no equality function between _ tag values (other than Stdlib.(=)), and especially no equality function which shows that when the values are equal the type arguments are also equal.

Instead we can use 'a onetag to recognize 'b tag values.

Sourceval eq_onetag : 'a onetag -> 'b Tag.tag -> ('a, 'b) CSig.eq option
Sourceval make : unit -> 'a onetag
Sourceval tag_of_onetag : 'a onetag -> 'a Tag.tag
Sourcemodule type MapS = sig ... end
Sourcemodule Map (V : ValueS) : MapS with type 'a value := 'a V.t