File: Option.v

package info (click to toggle)
coq-float 1%3A8.3pl1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,756 kB
  • sloc: makefile: 222
file content (5 lines) | stat: -rw-r--r-- 115 bytes parent folder | download | duplicates (4)
1
2
3
4
5
(* Usual option type *)

Inductive Option (A : Set) : Set :=
  | Some : forall x : A, Option A
  | None : Option A.