Bool

data Bool :: *
base Prelude, base Data.Bool
module Data.Bool
base Data.Bool
The Bool type and related functions.
Bool :: VariableType
OpenGL Graphics.Rendering.OpenGL.GL.Shaders
package bool-extras
package
The `bool' function allows folding over boolean values. This is comparable to the `maybe' or `either' functions on their respective types. The `bool' function is a replacement for the build-in if then else-syntax. However, since it is a function, it can be partially applied and passed around to higher order functions, like so: > ghci> :m + Data.Bool.Extras > ghci> let yesOrNo = bool "no" "yes" > ghci> map yesOrNo [True, False, True] > ["yes", "no", "yes"] Note that the arguments to `bool' are in the opposite order of the if then else-syntax; First the false value, then the true value, and finally the boolean. Version 0.3.0
package Boolean
package
Some classes for generalized boolean operations. Copyright 2009 Conal Elliott; BSD3 license. Version 0.0.1
package boolexpr
package
Boolean expressions with various representations and search queries. Version 0.1
BoolVec2 :: VariableType
OpenGL Graphics.Rendering.OpenGL.GL.Shaders
BoolVec3 :: VariableType
OpenGL Graphics.Rendering.OpenGL.GL.Shaders
BoolVec4 :: VariableType
OpenGL Graphics.Rendering.OpenGL.GL.Shaders
fromBool :: Num a => Bool -> a
base Foreign.Marshal.Utils
Convert a Haskell Bool to its numeric representation
toBool :: Num a => a -> Bool
base Foreign.Marshal.Utils
Convert a Boolean in numeric representation to a Haskell value
package AC-Boolean
package
This package provides various functions and classes for dealing with things which are like Boolean values. It also defines a few useful instances. The main benefit is the ability to use the usual &&, etc. operators without having to invent new operator names for every kind of Bool-like thing. Changes: * Increase efficiency of Boolean instance for Bool. * Shorten source code. * Remove function instance. (Control.Monad.Instances provides an equivilent Monad instance.) Version 1.1.0
assertBool :: String -> Bool -> Assertion
HUnit Test.HUnit.Base
Asserts that the specified condition holds.
liftBool :: Bool -> Result
QuickCheck Test.QuickCheck.Property
package type-booleans
package
Type-level booleans with basic operators that short-circuit as much as possible. Version 0.1
package Vec-Boolean
package
This package adds instances for the classes IfB and EqB in the Boolean package for the fixed length list data type in the Vec package. These intances are useful for example when using the GPipe package. Version 1.0.4