lean2/library/standard/option.lean

9 lines
184 B
Text
Raw Normal View History

import logic
inductive option (A : Type) : Type :=
| none {} : option A
| some : A → option A
theorem inhabited_option (A : Type) : inhabited (option A)
:= inhabited_intro none