File: Any.v

package info (click to toggle)
coq-ext-lib 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 808 kB
  • sloc: makefile: 44; python: 31; sh: 4; lisp: 3
file content (14 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Set Implicit Arguments.
Set Strict Implicit.

(** This class should be used when no requirements are needed **)
Polymorphic Class Any (T : Type) : Prop.

Global Polymorphic Instance Any_a (T : Type) : Any T := {}.

Polymorphic Definition RESOLVE (T : Type) : Type := T.

Existing Class RESOLVE.

#[global]
Hint Extern 0 (RESOLVE _) => unfold RESOLVE : typeclass_instances.