File: Case6.v

package info (click to toggle)
coq-doc 8.3pl4-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 20,504 kB
  • sloc: ml: 134,418; lisp: 2,734; ansic: 1,968; sh: 1,204; makefile: 611
file content (8 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
Inductive List (A : Set) : Set :=
  | Nil : List A
  | Cons : A -> List A -> List A.

Type (match Nil nat return List nat with
      | NIL   => NIL
      | (CONS _ _)  => NIL
      end).