summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Bool.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/Data/Bool.hs')
-rw-r--r--libraries/base/Data/Bool.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/Data/Bool.hs b/libraries/base/Data/Bool.hs
index 3e812d41b4..4e2bff30e2 100644
--- a/libraries/base/Data/Bool.hs
+++ b/libraries/base/Data/Bool.hs
@@ -28,6 +28,9 @@ module Data.Bool (
import GHC.Base
+-- $setup
+-- >>> import Prelude
+
-- | Case analysis for the 'Bool' type. @'bool' x y p@ evaluates to @x@
-- when @p@ is 'False', and evaluates to @y@ when @p@ is 'True'.
--