hydra-0.5.1: Type-aware transformations for data and programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Mantle

Description

A set of types which supplement hydra/core with type variants, graphs, and elements

Synopsis

Documentation

data Either_ a b Source #

A disjoint union between a left type and a right type

Constructors

EitherLeft a 
EitherRight b 

Instances

Instances details
(Read a, Read b) => Read (Either_ a b) Source # 
Instance details

Defined in Hydra.Mantle

(Show a, Show b) => Show (Either_ a b) Source # 
Instance details

Defined in Hydra.Mantle

Methods

showsPrec :: Int -> Either_ a b -> ShowS #

show :: Either_ a b -> String #

showList :: [Either_ a b] -> ShowS #

(Eq a, Eq b) => Eq (Either_ a b) Source # 
Instance details

Defined in Hydra.Mantle

Methods

(==) :: Either_ a b -> Either_ a b -> Bool #

(/=) :: Either_ a b -> Either_ a b -> Bool #

(Ord a, Ord b) => Ord (Either_ a b) Source # 
Instance details

Defined in Hydra.Mantle

Methods

compare :: Either_ a b -> Either_ a b -> Ordering #

(<) :: Either_ a b -> Either_ a b -> Bool #

(<=) :: Either_ a b -> Either_ a b -> Bool #

(>) :: Either_ a b -> Either_ a b -> Bool #

(>=) :: Either_ a b -> Either_ a b -> Bool #

max :: Either_ a b -> Either_ a b -> Either_ a b #

min :: Either_ a b -> Either_ a b -> Either_ a b #

data Precision Source #

Numeric precision: arbitrary precision, or precision to a specified number of bits

Instances

Instances details
Read Precision Source # 
Instance details

Defined in Hydra.Mantle

Show Precision Source # 
Instance details

Defined in Hydra.Mantle

Eq Precision Source # 
Instance details

Defined in Hydra.Mantle

Ord Precision Source # 
Instance details

Defined in Hydra.Mantle