File: make_local.v

package info (click to toggle)
coq 8.4pl4dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 19,744 kB
  • ctags: 23,914
  • sloc: ml: 140,953; ansic: 1,982; lisp: 1,406; sh: 1,358; makefile: 620; sed: 2
file content (10 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
(* Used in Import.v to test the locality flag *)

Definition f (A:Type) (a:A) := a.

Local Arguments Scope f [type_scope type_scope].
Local Implicit Arguments f [A].

(* Used in ImportedCoercion.v to test the locality flag *)

Local Coercion g (b:bool) := if b then 0 else 1.