summaryrefslogtreecommitdiff
path: root/src/Data/Maybe/Decidable.idr
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Maybe/Decidable.idr')
-rw-r--r--src/Data/Maybe/Decidable.idr6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Data/Maybe/Decidable.idr b/src/Data/Maybe/Decidable.idr
deleted file mode 100644
index e301ab1..0000000
--- a/src/Data/Maybe/Decidable.idr
+++ /dev/null
@@ -1,6 +0,0 @@
-module Data.Maybe.Decidable
-
-public export
-data OnlyWhen : (p : a -> Type) -> Maybe a -> Type where
- RJust : forall x. (px : p x) -> p `OnlyWhen` Just x
- RNothing : (false : (x : a) -> Not (p x)) -> p `OnlyWhen` Nothing