We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Void
1 parent e7de566 commit da12208Copy full SHA for da12208
src/Data/Void.purs
@@ -2,7 +2,8 @@ module Data.Void (Void, absurd) where
2
3
import Data.Show (class Show)
4
5
--- | An uninhabited data type.
+-- | An uninhabited data type. In other words, one can never create
6
+-- | a runtime value of type `Void` becaue no such value exists.
7
-- |
8
-- | `Void` is useful to eliminate the possibility of a value being created.
9
-- | For example, a value of type `Either Void Boolean` can never have
0 commit comments