Mercurial > cpdt > repo
diff src/Subset.v @ 89:939add5a7db9
Remove -impredicative-set
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 07 Oct 2008 10:49:07 -0400 |
parents | 15e2b3485dc4 |
children | cbf2f74a5130 |
line wrap: on
line diff
--- a/src/Subset.v Tue Oct 07 10:43:54 2008 -0400 +++ b/src/Subset.v Tue Oct 07 10:49:07 2008 -0400 @@ -428,7 +428,7 @@ (** Our final implementation of dependent predecessor used a very specific argument type to ensure that execution could always complete normally. Sometimes we want to allow execution to fail, and we want a more principled way of signaling that than returning a default value, as [pred] does for [0]. One approach is to define this type family [maybe], which is a version of [sig] that allows obligation-free failure. *) -Inductive maybe (A : Type) (P : A -> Prop) : Set := +Inductive maybe (A : Set) (P : A -> Prop) : Set := | Unknown : maybe P | Found : forall x : A, P x -> maybe P.