Visitar URL original
PostgresqlTypes.Bool
postgresql-types-0.1.7.0: Precise PostgreSQL types representation and driver-agnostic codecs
Safe HaskellNone
LanguageHaskell2010

PostgresqlTypes.Bool

Synopsis

Documentation

newtype Bool Source #

PostgreSQL boolean type. Logical Bool (true/false).

PostgreSQL docs.

Constructors

Bool Bool 

Instances

Instances details
Arbitrary Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Methods

arbitrary :: Gen Bool #

shrink :: Bool -> [Bool] #

IsString Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Methods

fromString :: String -> Bool #

Read Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Show Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Methods

showsPrec :: Int -> Bool -> ShowS #

show :: Bool -> String #

showList :: [Bool] -> ShowS #

Eq Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Methods

(==) :: Bool -> Bool -> Bool #

(/=) :: Bool -> Bool -> Bool #

Ord Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Methods

compare :: Bool -> Bool -> Ordering #

(<) :: Bool -> Bool -> Bool #

(<=) :: Bool -> Bool -> Bool #

(>) :: Bool -> Bool -> Bool #

(>=) :: Bool -> Bool -> Bool #

max :: Bool -> Bool -> Bool #

min :: Bool -> Bool -> Bool #

Hashable Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Methods

hashWithSalt :: Int -> Bool -> Int #

hash :: Bool -> Int #

IsBinaryPrimitive Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

IsPrimitive Bool Source # 
Instance details

Defined in PostgresqlTypes.Bool

Accessors

toBool :: Bool -> Bool Source #

Extract the underlying Haskell Bool value.

Constructors

fromBool :: Bool -> Bool Source #

Construct a PostgreSQL Bool from a Haskell Bool value.