foundation-0.0.30: Alternative prelude with batteries and no dependencies

Foundation

Description

I tried to picture clusters of information As they moved through the computer What do they look like?

Alternative Prelude

Synopsis

# Standard

## Operators

($) :: forall (r :: RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b infixr 0 Source # Application operator. This operator is redundant, since ordinary application (f x) means the same as (f$ x). However, $ has low, right-associative binding precedence, so it sometimes allows parentheses to be omitted; for example: f$ g $h x = f (g (h x)) It is also useful in higher-order situations, such as map ($ 0) xs, or zipWith ($) fs xs. Note that ($) is representation-polymorphic in its result type, so that foo $True where foo :: Bool -> Int# is well-typed. ($!) :: forall (r :: RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b infixr 0 Source #

Strict (call-by-value) application operator. It takes a function and an argument, evaluates the argument to weak head normal form (WHNF), then calls the function with that value.

(&&) :: Bool -> Bool -> Bool infixr 3 Source #

Boolean "and", lazy in the second argument

(||) :: Bool -> Bool -> Bool infixr 2 Source #

Boolean "or", lazy in the second argument

(.) :: forall (b :: k) (c :: k) (a :: k). Category cat => cat b c -> cat a b -> cat a c infixr 9 Source #

morphism composition

## Functions

Boolean "not"

otherwise is defined as the value True. It helps to make guards more readable. eg.

 f x | x < 0     = ...
| otherwise = ...

data Tuple2 a b Source #

Strict tuple (a,b)

Constructors

 Tuple2 !a !b

#### Instances

Instances details
 Nthable 1 (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 1 (Tuple2 a b) Source # Methodsnth :: proxy 1 -> Tuple2 a b -> NthTy 1 (Tuple2 a b) Source # Nthable 2 (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 2 (Tuple2 a b) Source # Methodsnth :: proxy 2 -> Tuple2 a b -> NthTy 2 (Tuple2 a b) Source # (Data a, Data b) => Data (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Methodsgfoldl :: (forall d b0. Data d => c (d -> b0) -> d -> c b0) -> (forall g. g -> c g) -> Tuple2 a b -> c (Tuple2 a b) Source #gunfold :: (forall b0 r. Data b0 => c (b0 -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Tuple2 a b) Source #toConstr :: Tuple2 a b -> Constr Source #dataTypeOf :: Tuple2 a b -> DataType Source #dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Tuple2 a b)) Source #dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Tuple2 a b)) Source #gmapT :: (forall b0. Data b0 => b0 -> b0) -> Tuple2 a b -> Tuple2 a b Source #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tuple2 a b -> r Source #gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tuple2 a b -> r Source #gmapQ :: (forall d. Data d => d -> u) -> Tuple2 a b -> [u] Source #gmapQi :: Int -> (forall d. Data d => d -> u) -> Tuple2 a b -> u Source #gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tuple2 a b -> m (Tuple2 a b) Source #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tuple2 a b -> m (Tuple2 a b) Source #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tuple2 a b -> m (Tuple2 a b) Source # Generic (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype Rep (Tuple2 a b) :: Type -> Type Source # Methodsfrom :: Tuple2 a b -> Rep (Tuple2 a b) x Source #to :: Rep (Tuple2 a b) x -> Tuple2 a b Source # (Show a, Show b) => Show (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple MethodsshowsPrec :: Int -> Tuple2 a b -> ShowS Source #show :: Tuple2 a b -> String Source #showList :: [Tuple2 a b] -> ShowS Source # (NormalForm a, NormalForm b) => NormalForm (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple MethodstoNormalForm :: Tuple2 a b -> () Source # (Hashable a, Hashable b) => Hashable (Tuple2 a b) Source # Instance detailsDefined in Foundation.Hashing.Hashable MethodshashMix :: Hasher st => Tuple2 a b -> st -> st Source # Fstable (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (Tuple2 a b) Source # Methodsfst :: Tuple2 a b -> ProductFirst (Tuple2 a b) Source # Sndable (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (Tuple2 a b) Source # Methodssnd :: Tuple2 a b -> ProductSecond (Tuple2 a b) Source # (Eq a, Eq b) => Eq (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Methods(==) :: Tuple2 a b -> Tuple2 a b -> Bool Source #(/=) :: Tuple2 a b -> Tuple2 a b -> Bool Source # (Ord a, Ord b) => Ord (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Methodscompare :: Tuple2 a b -> Tuple2 a b -> Ordering Source #(<) :: Tuple2 a b -> Tuple2 a b -> Bool Source #(<=) :: Tuple2 a b -> Tuple2 a b -> Bool Source #(>) :: Tuple2 a b -> Tuple2 a b -> Bool Source #(>=) :: Tuple2 a b -> Tuple2 a b -> Bool Source #max :: Tuple2 a b -> Tuple2 a b -> Tuple2 a b Source #min :: Tuple2 a b -> Tuple2 a b -> Tuple2 a b Source # type NthTy 1 (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 1 (Tuple2 a b) = a type NthTy 2 (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 2 (Tuple2 a b) = b type Rep (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple type Rep (Tuple2 a b) = D1 ('MetaData "Tuple2" "Foundation.Tuple" "foundation-0.0.30-IIXwQOZkffu8ITCR7f5WRF" 'False) (C1 ('MetaCons "Tuple2" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 b))) type ProductFirst (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple type ProductFirst (Tuple2 a b) = a type ProductSecond (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple type ProductSecond (Tuple2 a b) = b

data Tuple3 a b c Source #

Strict tuple (a,b,c)

Constructors

 Tuple3 !a !b !c

#### Instances

Instances details
 Nthable 1 (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 1 (Tuple3 a b c) Source # Methodsnth :: proxy 1 -> Tuple3 a b c -> NthTy 1 (Tuple3 a b c) Source # Nthable 2 (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 2 (Tuple3 a b c) Source # Methodsnth :: proxy 2 -> Tuple3 a b c -> NthTy 2 (Tuple3 a b c) Source # Nthable 3 (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 3 (Tuple3 a b c) Source # Methodsnth :: proxy 3 -> Tuple3 a b c -> NthTy 3 (Tuple3 a b c) Source # (Data a, Data b, Data c) => Data (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Methodsgfoldl :: (forall d b0. Data d => c0 (d -> b0) -> d -> c0 b0) -> (forall g. g -> c0 g) -> Tuple3 a b c -> c0 (Tuple3 a b c) Source #gunfold :: (forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> (forall r. r -> c0 r) -> Constr -> c0 (Tuple3 a b c) Source #toConstr :: Tuple3 a b c -> Constr Source #dataTypeOf :: Tuple3 a b c -> DataType Source #dataCast1 :: Typeable t => (forall d. Data d => c0 (t d)) -> Maybe (c0 (Tuple3 a b c)) Source #dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c0 (t d e)) -> Maybe (c0 (Tuple3 a b c)) Source #gmapT :: (forall b0. Data b0 => b0 -> b0) -> Tuple3 a b c -> Tuple3 a b c Source #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tuple3 a b c -> r Source #gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tuple3 a b c -> r Source #gmapQ :: (forall d. Data d => d -> u) -> Tuple3 a b c -> [u] Source #gmapQi :: Int -> (forall d. Data d => d -> u) -> Tuple3 a b c -> u Source #gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tuple3 a b c -> m (Tuple3 a b c) Source #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tuple3 a b c -> m (Tuple3 a b c) Source #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tuple3 a b c -> m (Tuple3 a b c) Source # Generic (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype Rep (Tuple3 a b c) :: Type -> Type Source # Methodsfrom :: Tuple3 a b c -> Rep (Tuple3 a b c) x Source #to :: Rep (Tuple3 a b c) x -> Tuple3 a b c Source # (Show a, Show b, Show c) => Show (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple MethodsshowsPrec :: Int -> Tuple3 a b c -> ShowS Source #show :: Tuple3 a b c -> String Source #showList :: [Tuple3 a b c] -> ShowS Source # (NormalForm a, NormalForm b, NormalForm c) => NormalForm (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple MethodstoNormalForm :: Tuple3 a b c -> () Source # (Hashable a, Hashable b, Hashable c) => Hashable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Hashing.Hashable MethodshashMix :: Hasher st => Tuple3 a b c -> st -> st Source # Fstable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (Tuple3 a b c) Source # Methodsfst :: Tuple3 a b c -> ProductFirst (Tuple3 a b c) Source # Sndable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (Tuple3 a b c) Source # Methodssnd :: Tuple3 a b c -> ProductSecond (Tuple3 a b c) Source # Thdable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductThird (Tuple3 a b c) Source # Methodsthd :: Tuple3 a b c -> ProductThird (Tuple3 a b c) Source # (Eq a, Eq b, Eq c) => Eq (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Methods(==) :: Tuple3 a b c -> Tuple3 a b c -> Bool Source #(/=) :: Tuple3 a b c -> Tuple3 a b c -> Bool Source # (Ord a, Ord b, Ord c) => Ord (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Methodscompare :: Tuple3 a b c -> Tuple3 a b c -> Ordering Source #(<) :: Tuple3 a b c -> Tuple3 a b c -> Bool Source #(<=) :: Tuple3 a b c -> Tuple3 a b c -> Bool Source #(>) :: Tuple3 a b c -> Tuple3 a b c -> Bool Source #(>=) :: Tuple3 a b c -> Tuple3 a b c -> Bool Source #max :: Tuple3 a b c -> Tuple3 a b c -> Tuple3 a b c Source #min :: Tuple3 a b c -> Tuple3 a b c -> Tuple3 a b c Source # type NthTy 1 (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 1 (Tuple3 a b c) = a type NthTy 2 (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 2 (Tuple3 a b c) = b type NthTy 3 (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 3 (Tuple3 a b c) = c type Rep (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple type Rep (Tuple3 a b c) = D1 ('MetaData "Tuple3" "Foundation.Tuple" "foundation-0.0.30-IIXwQOZkffu8ITCR7f5WRF" 'False) (C1 ('MetaCons "Tuple3" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 b) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 c)))) type ProductFirst (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple type ProductFirst (Tuple3 a b c) = a type ProductSecond (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple type ProductSecond (Tuple3 a b c) = b type ProductThird (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple type ProductThird (Tuple3 a b c) = c

data Tuple4 a b c d Source #

Strict tuple (a,b,c,d)

Constructors

 Tuple4 !a !b !c !d

#### Instances

Instances details
 Nthable 1 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 1 (Tuple4 a b c d) Source # Methodsnth :: proxy 1 -> Tuple4 a b c d -> NthTy 1 (Tuple4 a b c d) Source # Nthable 2 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 2 (Tuple4 a b c d) Source # Methodsnth :: proxy 2 -> Tuple4 a b c d -> NthTy 2 (Tuple4 a b c d) Source # Nthable 3 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 3 (Tuple4 a b c d) Source # Methodsnth :: proxy 3 -> Tuple4 a b c d -> NthTy 3 (Tuple4 a b c d) Source # Nthable 4 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth Associated Typestype NthTy 4 (Tuple4 a b c d) Source # Methodsnth :: proxy 4 -> Tuple4 a b c d -> NthTy 4 (Tuple4 a b c d) Source # (Data a, Data b, Data c, Data d) => Data (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Methodsgfoldl :: (forall d0 b0. Data d0 => c0 (d0 -> b0) -> d0 -> c0 b0) -> (forall g. g -> c0 g) -> Tuple4 a b c d -> c0 (Tuple4 a b c d) Source #gunfold :: (forall b0 r. Data b0 => c0 (b0 -> r) -> c0 r) -> (forall r. r -> c0 r) -> Constr -> c0 (Tuple4 a b c d) Source #toConstr :: Tuple4 a b c d -> Constr Source #dataTypeOf :: Tuple4 a b c d -> DataType Source #dataCast1 :: Typeable t => (forall d0. Data d0 => c0 (t d0)) -> Maybe (c0 (Tuple4 a b c d)) Source #dataCast2 :: Typeable t => (forall d0 e. (Data d0, Data e) => c0 (t d0 e)) -> Maybe (c0 (Tuple4 a b c d)) Source #gmapT :: (forall b0. Data b0 => b0 -> b0) -> Tuple4 a b c d -> Tuple4 a b c d Source #gmapQl :: (r -> r' -> r) -> r -> (forall d0. Data d0 => d0 -> r') -> Tuple4 a b c d -> r Source #gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d0. Data d0 => d0 -> r') -> Tuple4 a b c d -> r Source #gmapQ :: (forall d0. Data d0 => d0 -> u) -> Tuple4 a b c d -> [u] Source #gmapQi :: Int -> (forall d0. Data d0 => d0 -> u) -> Tuple4 a b c d -> u Source #gmapM :: Monad m => (forall d0. Data d0 => d0 -> m d0) -> Tuple4 a b c d -> m (Tuple4 a b c d) Source #gmapMp :: MonadPlus m => (forall d0. Data d0 => d0 -> m d0) -> Tuple4 a b c d -> m (Tuple4 a b c d) Source #gmapMo :: MonadPlus m => (forall d0. Data d0 => d0 -> m d0) -> Tuple4 a b c d -> m (Tuple4 a b c d) Source # Generic (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype Rep (Tuple4 a b c d) :: Type -> Type Source # Methodsfrom :: Tuple4 a b c d -> Rep (Tuple4 a b c d) x Source #to :: Rep (Tuple4 a b c d) x -> Tuple4 a b c d Source # (Show a, Show b, Show c, Show d) => Show (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple MethodsshowsPrec :: Int -> Tuple4 a b c d -> ShowS Source #show :: Tuple4 a b c d -> String Source #showList :: [Tuple4 a b c d] -> ShowS Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d) => NormalForm (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple MethodstoNormalForm :: Tuple4 a b c d -> () Source # (Hashable a, Hashable b, Hashable c, Hashable d) => Hashable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Hashing.Hashable MethodshashMix :: Hasher st => Tuple4 a b c d -> st -> st Source # Fstable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (Tuple4 a b c d) Source # Methodsfst :: Tuple4 a b c d -> ProductFirst (Tuple4 a b c d) Source # Sndable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (Tuple4 a b c d) Source # Methodssnd :: Tuple4 a b c d -> ProductSecond (Tuple4 a b c d) Source # Thdable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductThird (Tuple4 a b c d) Source # Methodsthd :: Tuple4 a b c d -> ProductThird (Tuple4 a b c d) Source # (Eq a, Eq b, Eq c, Eq d) => Eq (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Methods(==) :: Tuple4 a b c d -> Tuple4 a b c d -> Bool Source #(/=) :: Tuple4 a b c d -> Tuple4 a b c d -> Bool Source # (Ord a, Ord b, Ord c, Ord d) => Ord (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Methodscompare :: Tuple4 a b c d -> Tuple4 a b c d -> Ordering Source #(<) :: Tuple4 a b c d -> Tuple4 a b c d -> Bool Source #(<=) :: Tuple4 a b c d -> Tuple4 a b c d -> Bool Source #(>) :: Tuple4 a b c d -> Tuple4 a b c d -> Bool Source #(>=) :: Tuple4 a b c d -> Tuple4 a b c d -> Bool Source #max :: Tuple4 a b c d -> Tuple4 a b c d -> Tuple4 a b c d Source #min :: Tuple4 a b c d -> Tuple4 a b c d -> Tuple4 a b c d Source # type NthTy 1 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 1 (Tuple4 a b c d) = a type NthTy 2 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 2 (Tuple4 a b c d) = b type NthTy 3 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 3 (Tuple4 a b c d) = c type NthTy 4 (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple.Nth type NthTy 4 (Tuple4 a b c d) = d type Rep (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple type Rep (Tuple4 a b c d) = D1 ('MetaData "Tuple4" "Foundation.Tuple" "foundation-0.0.30-IIXwQOZkffu8ITCR7f5WRF" 'False) (C1 ('MetaCons "Tuple4" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 b)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 c) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 d)))) type ProductFirst (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple type ProductFirst (Tuple4 a b c d) = a type ProductSecond (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple type ProductSecond (Tuple4 a b c d) = b type ProductThird (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple type ProductThird (Tuple4 a b c d) = c

class Fstable a where Source #

Class of product types that have a first element

Associated Types

type ProductFirst a Source #

Methods

fst :: a -> ProductFirst a Source #

#### Instances

Instances details
 Fstable (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (Tuple2 a b) Source # Methodsfst :: Tuple2 a b -> ProductFirst (Tuple2 a b) Source # Fstable (a, b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (a, b) Source # Methodsfst :: (a, b) -> ProductFirst (a, b) Source # Fstable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (Tuple3 a b c) Source # Methodsfst :: Tuple3 a b c -> ProductFirst (Tuple3 a b c) Source # Fstable (a, b, c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (a, b, c) Source # Methodsfst :: (a, b, c) -> ProductFirst (a, b, c) Source # Fstable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (Tuple4 a b c d) Source # Methodsfst :: Tuple4 a b c d -> ProductFirst (Tuple4 a b c d) Source # Fstable (a, b, c, d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductFirst (a, b, c, d) Source # Methodsfst :: (a, b, c, d) -> ProductFirst (a, b, c, d) Source #

class Sndable a where Source #

Class of product types that have a second element

Associated Types

type ProductSecond a Source #

Methods

snd :: a -> ProductSecond a Source #

#### Instances

Instances details
 Sndable (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (Tuple2 a b) Source # Methodssnd :: Tuple2 a b -> ProductSecond (Tuple2 a b) Source # Sndable (a, b) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (a, b) Source # Methodssnd :: (a, b) -> ProductSecond (a, b) Source # Sndable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (Tuple3 a b c) Source # Methodssnd :: Tuple3 a b c -> ProductSecond (Tuple3 a b c) Source # Sndable (a, b, c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (a, b, c) Source # Methodssnd :: (a, b, c) -> ProductSecond (a, b, c) Source # Sndable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (Tuple4 a b c d) Source # Methodssnd :: Tuple4 a b c d -> ProductSecond (Tuple4 a b c d) Source # Sndable (a, b, c, d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductSecond (a, b, c, d) Source # Methodssnd :: (a, b, c, d) -> ProductSecond (a, b, c, d) Source #

class Thdable a where Source #

Class of product types that have a third element

Associated Types

type ProductThird a Source #

Methods

thd :: a -> ProductThird a Source #

#### Instances

Instances details
 Thdable (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductThird (Tuple3 a b c) Source # Methodsthd :: Tuple3 a b c -> ProductThird (Tuple3 a b c) Source # Thdable (a, b, c) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductThird (a, b, c) Source # Methodsthd :: (a, b, c) -> ProductThird (a, b, c) Source # Thdable (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductThird (Tuple4 a b c d) Source # Methodsthd :: Tuple4 a b c d -> ProductThird (Tuple4 a b c d) Source # Thdable (a, b, c, d) Source # Instance detailsDefined in Foundation.Tuple Associated Typestype ProductThird (a, b, c, d) Source # Methodsthd :: (a, b, c, d) -> ProductThird (a, b, c, d) Source #

id :: forall (a :: k). Category cat => cat a a Source #

the identity morphism

maybe :: b -> (a -> b) -> Maybe a -> b Source #

The maybe function takes a default value, a function, and a Maybe value. If the Maybe value is Nothing, the function returns the default value. Otherwise, it applies the function to the value inside the Just and returns the result.

#### Examples

Expand

Basic usage:

>>> maybe False odd (Just 3)
True

>>> maybe False odd Nothing
False


Read an integer from a string using readMaybe. If we succeed, return twice the integer; that is, apply (*2) to it. If instead we fail to parse an integer, return 0 by default:

>>> import Text.Read ( readMaybe )
>>> maybe 0 (*2) (readMaybe "5")
10
>>> maybe 0 (*2) (readMaybe "")
0


Apply show to a Maybe Int. If we have Just n, we want to show the underlying Int n. But if we have Nothing, we return the empty string instead of (for example) "Nothing":

>>> maybe "" show (Just 5)
"5"
>>> maybe "" show Nothing
""


either :: (a -> c) -> (b -> c) -> Either a b -> c Source #

Case analysis for the Either type. If the value is Left a, apply the first function to a; if it is Right b, apply the second function to b.

#### Examples

Expand

We create two values of type Either String Int, one using the Left constructor and another using the Right constructor. Then we apply "either" the length function (if we have a String) or the "times-two" function (if we have an Int):

>>> let s = Left "foo" :: Either String Int
>>> let n = Right 3 :: Either String Int
>>> either length (*2) s
3
>>> either length (*2) n
6


flip :: (a -> b -> c) -> b -> a -> c Source #

flip f takes its (first) two arguments in the reverse order of f.

>>> flip (++) "hello" "world"
"worldhello"


const :: a -> b -> a Source #

const x y always evaluates to x, ignoring its second argument.

>>> const 42 "hello"
42

>>> map (const 42) [0..3]
[42,42,42,42]


error :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => String -> a Source #

stop execution and displays an error message

putStr :: String -> IO () Source #

Print a string to standard output

putStrLn :: String -> IO () Source #

Print a string with a newline to standard output

Returns a list of the program's command line arguments (not including the program name).

uncurry :: (a -> b -> c) -> (a, b) -> c Source #

uncurry converts a curried function to a function on pairs.

#### Examples

Expand
>>> uncurry (+) (1,2)
3

>>> uncurry ($) (show, 1) "1"  >>> map (uncurry max) [(1,2), (3,4), (6,8)] [2,4,8]  curry :: ((a, b) -> c) -> a -> b -> c Source # curry converts an uncurried function to a curried function. #### Examples Expand >>> curry fst 1 2 1  swap :: (a, b) -> (b, a) Source # Swap the components of a pair. until :: (a -> Bool) -> (a -> a) -> a -> a Source # until p f yields the result of applying f until p holds. asTypeOf :: a -> a -> a Source # asTypeOf is a type-restricted version of const. It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second. undefined :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => a Source # A special case of error. It is expected that compilers will recognize this and insert error messages which are more appropriate to the context in which undefined appears. seq :: forall {r :: RuntimeRep} a (b :: TYPE r). a -> b -> b infixr 0 Source # The value of seq a b is bottom if a is bottom, and otherwise equal to b. In other words, it evaluates the first argument a to weak head normal form (WHNF). seq is usually introduced to improve performance by avoiding unneeded laziness. A note on evaluation order: the expression seq a b does not guarantee that a will be evaluated before b. The only guarantee given by seq is that the both a and b will be evaluated before seq returns a value. In particular, this means that b may be evaluated before a. If you need to guarantee a specific order of evaluation, you must use the function pseq from the "parallel" package. class NormalForm a Source # Data that can be fully evaluated in Normal Form Minimal complete definition toNormalForm #### Instances Instances details  Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CChar -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CDouble -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CFloat -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CInt -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CLLong -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CLong -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CSChar -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CShort -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CUChar -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CUInt -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CULLong -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CULong -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CUShort -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Int16 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Int32 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Int64 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Int8 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word16 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word32 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word64 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word8 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Char7 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word128 -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word256 -> () Source # Instance detailsDefined in Basement.UTF8.Base MethodstoNormalForm :: String -> () Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodstoNormalForm :: CSV -> () Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodstoNormalForm :: Escaping -> () Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodstoNormalForm :: Field -> () Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodstoNormalForm :: Row -> () Source # Source # Instance detailsDefined in Foundation.Network.IPv4 MethodstoNormalForm :: IPv4 -> () Source # Source # Instance detailsDefined in Foundation.Network.IPv6 MethodstoNormalForm :: IPv6 -> () Source # Source # Instance detailsDefined in Foundation.UUID MethodstoNormalForm :: UUID -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Integer -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Natural -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: () -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Bool -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Char -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Double -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Float -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Int -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Word -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Ptr a -> () Source # NormalForm (Block ty) Instance detailsDefined in Basement.Block.Base MethodstoNormalForm :: Block ty -> () Source # NormalForm (Zn n) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Zn n -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Zn64 n -> () Source # NormalForm a => NormalForm (Array a) Instance detailsDefined in Basement.BoxedArray MethodstoNormalForm :: Array a -> () Source # NormalForm a => NormalForm (BE a) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: BE a -> () Source # NormalForm a => NormalForm (LE a) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: LE a -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: CountOf a -> () Source # Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Offset a -> () Source # NormalForm (UArray ty) Instance detailsDefined in Basement.UArray.Base MethodstoNormalForm :: UArray ty -> () Source # Source # Instance detailsDefined in Foundation.Array.Chunked.Unboxed MethodstoNormalForm :: ChunkedUArray ty -> () Source # NormalForm a => NormalForm (Maybe a) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Maybe a -> () Source # NormalForm a => NormalForm [a] Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: [a] -> () Source # (NormalForm l, NormalForm r) => NormalForm (Either l r) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: Either l r -> () Source # NormalForm (BlockN n a) Instance detailsDefined in Basement.Sized.Block MethodstoNormalForm :: BlockN n a -> () Source # NormalForm a => NormalForm (ListN n a) Instance detailsDefined in Basement.Sized.List MethodstoNormalForm :: ListN n a -> () Source # (NormalForm a, NormalForm b) => NormalForm (These a b) Instance detailsDefined in Basement.These MethodstoNormalForm :: These a b -> () Source # (NormalForm a, NormalForm b) => NormalForm (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple MethodstoNormalForm :: Tuple2 a b -> () Source # (NormalForm a, NormalForm b) => NormalForm (a, b) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b) -> () Source # (NormalForm a, NormalForm b, NormalForm c) => NormalForm (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple MethodstoNormalForm :: Tuple3 a b c -> () Source # (NormalForm a, NormalForm b, NormalForm c) => NormalForm (a, b, c) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b, c) -> () Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d) => NormalForm (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple MethodstoNormalForm :: Tuple4 a b c d -> () Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d) => NormalForm (a, b, c, d) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b, c, d) -> () Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d, NormalForm e) => NormalForm (a, b, c, d, e) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b, c, d, e) -> () Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d, NormalForm e, NormalForm f) => NormalForm (a, b, c, d, e, f) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b, c, d, e, f) -> () Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d, NormalForm e, NormalForm f, NormalForm g) => NormalForm (a, b, c, d, e, f, g) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b, c, d, e, f, g) -> () Source # (NormalForm a, NormalForm b, NormalForm c, NormalForm d, NormalForm e, NormalForm f, NormalForm g, NormalForm h) => NormalForm (a, b, c, d, e, f, g, h) Instance detailsDefined in Basement.NormalForm MethodstoNormalForm :: (a, b, c, d, e, f, g, h) -> () Source # deepseq :: NormalForm a => a -> b -> b Source # force :: NormalForm a => a -> a Source # ## Type classes class Show a Source # Conversion of values to readable Strings. Derived instances of Show have the following properties, which are compatible with derived instances of Read: • The result of show is a syntactically correct Haskell expression containing only constants, given the fixity declarations in force at the point where the type is declared. It contains only the constructor names defined in the data type, parentheses, and spaces. When labelled constructor fields are used, braces, commas, field names, and equal signs are also used. • If the constructor is defined to be an infix operator, then showsPrec will produce infix applications of the constructor. • the representation will be enclosed in parentheses if the precedence of the top-level constructor in x is less than d (associativity is ignored). Thus, if d is 0 then the result is never surrounded in parentheses; if d is 11 it is always surrounded in parentheses, unless it is an atomic expression. • If the constructor is defined using record syntax, then show will produce the record-syntax form, with the fields given in the same order as the original declaration. For example, given the declarations infixr 5 :^: data Tree a = Leaf a | Tree a :^: Tree a the derived instance of Show is equivalent to instance (Show a) => Show (Tree a) where showsPrec d (Leaf m) = showParen (d > app_prec)$
showString "Leaf " . showsPrec (app_prec+1) m
where app_prec = 10

showsPrec d (u :^: v) = showParen (d > up_prec) \$
showsPrec (up_prec+1) u .
showString " :^: "      .
showsPrec (up_prec+1) v
where up_prec = 5

Note that right-associativity of :^: is ignored. For example,

• show (Leaf 1 :^: Leaf 2 :^: Leaf 3) produces the string "Leaf 1 :^: (Leaf 2 :^: Leaf 3)".

Minimal complete definition

#### Instances

Instances details
 Since: base-4.0 Instance detailsDefined in Control.Exception.Base Methods Since: base-4.0 Instance detailsDefined in Control.Exception.Base Methods Since: base-4.0 Instance detailsDefined in Control.Exception.Base Methods Since: base-4.0 Instance detailsDefined in Control.Exception.Base Methods Since: base-4.0 Instance detailsDefined in Control.Exception.Base MethodsshowList :: [RecConError] -> ShowS Source # Since: base-4.0 Instance detailsDefined in Control.Exception.Base MethodsshowList :: [RecSelError] -> ShowS Source # Since: base-4.0 Instance detailsDefined in Control.Exception.Base MethodsshowList :: [RecUpdError] -> ShowS Source # Since: base-4.9.0.0 Instance detailsDefined in Control.Exception.Base MethodsshowList :: [TypeError] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in Data.Data MethodsshowList :: [Constr] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in Data.Data MethodsshowList :: [ConstrRep] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in Data.Data MethodsshowList :: [DataRep] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in Data.Data MethodsshowList :: [DataType] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in Data.Data MethodsshowList :: [Fixity] -> ShowS Source # Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal MethodsshowList :: [All] -> ShowS Source # Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal MethodsshowList :: [Any] -> ShowS Source # Since: base-4.10.0.0 Instance detailsDefined in Data.Typeable.Internal MethodsshowList :: [SomeTypeRep] -> ShowS Source # Since: base-2.1 Instance detailsDefined in Data.Version MethodsshowList :: [Version] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CBool] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CChar] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CClock] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CDouble] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CFloat] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CInt] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CIntMax] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CIntPtr] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CLLong] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CLong] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CPtrdiff] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CSChar] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CSUSeconds] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CShort] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CSigAtomic] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CSize] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CTime] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CUChar] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CUInt] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CUIntMax] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CUIntPtr] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CULLong] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CULong] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CUSeconds] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CUShort] -> ShowS Source # Instance detailsDefined in Foreign.C.Types MethodsshowList :: [CWchar] -> ShowS Source # Instance detailsDefined in Foreign.Ptr MethodsshowList :: [IntPtr] -> ShowS Source # Instance detailsDefined in Foreign.Ptr MethodsshowList :: [WordPtr] -> ShowS Source # Since: base-4.3.0.0 Instance detailsDefined in GHC.Conc.Sync MethodsshowList :: [BlockReason] -> ShowS Source # Since: base-4.2.0.0 Instance detailsDefined in GHC.Conc.Sync MethodsshowList :: [ThreadId] -> ShowS Source # Since: base-4.3.0.0 Instance detailsDefined in GHC.Conc.Sync MethodsshowList :: [ThreadStatus] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in GHC.Exception MethodsshowList :: [ErrorCall] -> ShowS Source # Since: base-4.0.0.0 Instance detailsDefined in GHC.Exception.Type Methods Since: base-3.0 Instance detailsDefined in GHC.Exception.Type Methods Since: base-4.6.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.6.0.0 Instance detailsDefined in GHC.Generics MethodsshowList :: [Fixity] -> ShowS Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.IO MethodsshowList :: [MaskingState] -> ShowS Source # Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Device MethodsshowList :: [SeekMode] -> ShowS Source # Since: base-4.4.0.0 Instance detailsDefined in GHC.IO.Encoding.Types Methods Since: base-4.3.0.0 Instance detailsDefined in GHC.IO.Encoding.Types MethodsshowList :: [TextEncoding] -> ShowS Source # Since: base-4.7.1.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.10.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception MethodsshowList :: [Deadlock] -> ShowS Source # Instance detailsDefined in GHC.IO.Exception MethodsshowList :: [ExitCode] -> ShowS Source # Since: base-4.11.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception MethodsshowList :: [IOErrorType] -> ShowS Source # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Exception MethodsshowList :: [IOException] -> ShowS Source # Since: base-4.7.0.0 Instance detailsDefined in GHC.IO.Exception Methods Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.FD MethodsshowList :: [FD] -> ShowS Source # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle MethodsshowList :: [HandlePosn] -> ShowS Source # Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.Handle.Types MethodsshowList :: [BufferMode] -> ShowS Source # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle.Types MethodsshowList :: [Handle] -> ShowS Source # Since: base-4.1.0.0 Instance detailsDefined in GHC.IO.Handle.Types MethodsshowList :: [HandleType] -> ShowS Source # Since: base-4.3.0.0 Instance detailsDefined in GHC.IO.Handle.Types MethodsshowList :: [Newline] -> ShowS Source # Since: base-4.3.0.0 Instance detailsDefined in GHC.IO.Handle.Types MethodsshowList :: [NewlineMode] -> ShowS Source # Since: base-4.2.0.0 Instance detailsDefined in GHC.IO.IOMode MethodsshowList :: [IOMode] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Int MethodsshowList :: [Int16] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Int MethodsshowList :: [Int32] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Int MethodsshowList :: [Int64] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Int MethodsshowList :: [Int8] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [CCFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [ConcFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [DebugFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags Methods Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags Methods Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [DoTrace] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [GCFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [GiveGCStats] -> ShowS Source # Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [IoSubSystem] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [MiscFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [ParFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [ProfFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [RTSFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [TickyFlags] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.RTS.Flags MethodsshowList :: [TraceFlags] -> ShowS Source # Instance detailsDefined in GHC.Real Methods Since: base-4.9.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [CallStack] -> ShowS Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [SrcLoc] -> ShowS Source # Since: base-4.10.0.0 Instance detailsDefined in GHC.Stats MethodsshowList :: [GCDetails] -> ShowS Source # Since: base-4.10.0.0 Instance detailsDefined in GHC.Stats MethodsshowList :: [RTSStats] -> ShowS Source # Instance detailsDefined in GHC.TypeLits MethodsshowList :: [SomeChar] -> ShowS Source # Since: base-4.7.0.0 Instance detailsDefined in GHC.TypeLits MethodsshowList :: [SomeSymbol] -> ShowS Source # Since: base-4.7.0.0 Instance detailsDefined in GHC.TypeNats MethodsshowList :: [SomeNat] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Unicode Methods Since: base-2.1 Instance detailsDefined in GHC.Word MethodsshowList :: [Word16] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Word MethodsshowList :: [Word32] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Word MethodsshowList :: [Word64] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Word MethodsshowList :: [Word8] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CBlkCnt] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CBlkSize] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CCc] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CClockId] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CDev] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CFsBlkCnt] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CFsFilCnt] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CGid] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CId] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CIno] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CKey] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CMode] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CNfds] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CNlink] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [COff] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CPid] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CRLim] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CSocklen] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CSpeed] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CSsize] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CTcflag] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CTimer] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [CUid] -> ShowS Source # Instance detailsDefined in System.Posix.Types MethodsshowList :: [Fd] -> ShowS Source # Instance detailsDefined in Basement.Endianness MethodsshowList :: [Endianness] -> ShowS Source # Instance detailsDefined in Basement.Exception Methods Instance detailsDefined in Basement.Exception Methods Instance detailsDefined in Basement.Exception MethodsshowList :: [OutOfBound] -> ShowS Source # Instance detailsDefined in Basement.Exception Methods Instance detailsDefined in Basement.Exception Methods Instance detailsDefined in Basement.Exception Methods Instance detailsDefined in Basement.String MethodsshowList :: [Encoding] -> ShowS Source # Show ASCII7_Invalid Instance detailsDefined in Basement.String.Encoding.ASCII7 MethodsshowsPrec :: Int -> ASCII7_Invalid -> ShowS Source #show :: ASCII7_Invalid -> String Source #showList :: [ASCII7_Invalid] -> ShowS Source # Show ISO_8859_1_Invalid Instance detailsDefined in Basement.String.Encoding.ISO_8859_1 MethodsshowsPrec :: Int -> ISO_8859_1_Invalid -> ShowS Source #show :: ISO_8859_1_Invalid -> String Source #showList :: [ISO_8859_1_Invalid] -> ShowS Source # Show UTF16_Invalid Instance detailsDefined in Basement.String.Encoding.UTF16 MethodsshowsPrec :: Int -> UTF16_Invalid -> ShowS Source #show :: UTF16_Invalid -> String Source #showList :: [UTF16_Invalid] -> ShowS Source # Show UTF32_Invalid Instance detailsDefined in Basement.String.Encoding.UTF32 MethodsshowsPrec :: Int -> UTF32_Invalid -> ShowS Source #show :: UTF32_Invalid -> String Source #showList :: [UTF32_Invalid] -> ShowS Source # Instance detailsDefined in Basement.Types.AsciiString MethodsshowList :: [AsciiString] -> ShowS Source # Instance detailsDefined in Basement.Types.Char7 MethodsshowList :: [Char7] -> ShowS Source # Instance detailsDefined in Basement.Types.OffsetSize MethodsshowList :: [FileSize] -> ShowS Source # Instance detailsDefined in Basement.Types.Word128 MethodsshowList :: [Word128] -> ShowS Source # Instance detailsDefined in Basement.Types.Word256 MethodsshowList :: [Word256] -> ShowS Source # Instance detailsDefined in Basement.UTF8.Base MethodsshowList :: [String] -> ShowS Source # Instance detailsDefined in Basement.UTF8.Types Methods Source # Instance detailsDefined in Foundation.Array.Bitmap MethodsshowList :: [Bitmap] -> ShowS Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodsshowList :: [CSV] -> ShowS Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodsshowList :: [Escaping] -> ShowS Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodsshowList :: [Field] -> ShowS Source # Source # Instance detailsDefined in Foundation.Format.CSV.Types MethodsshowList :: [Row] -> ShowS Source # Source # Instance detailsDefined in Foundation.Network.IPv4 MethodsshowList :: [IPv4] -> ShowS Source # Source # Instance detailsDefined in Foundation.Network.IPv6 MethodsshowList :: [IPv6] -> ShowS Source # Source # Instance detailsDefined in Foundation.Parser MethodsshowList :: [And] -> ShowS Source # Source # Instance detailsDefined in Foundation.Parser MethodsshowList :: [Condition] -> ShowS Source # Source # Instance detailsDefined in Foundation.Partial MethodsshowList :: [PartialError] -> ShowS Source # Source # Instance detailsDefined in Foundation.System.Info MethodsshowList :: [Arch] -> ShowS Source # Source # Instance detailsDefined in Foundation.System.Info MethodsshowList :: [OS] -> ShowS Source # Source # Instance detailsDefined in Foundation.Time.Types MethodsshowList :: [NanoSeconds] -> ShowS Source # Source # Instance detailsDefined in Foundation.Time.Types MethodsshowList :: [Seconds] -> ShowS Source # Source # Instance detailsDefined in Foundation.UUID MethodsshowList :: [UUID] -> ShowS Source # Source # Instance detailsDefined in Foundation.VFS.FilePath MethodsshowList :: [FileName] -> ShowS Source # Source # Instance detailsDefined in Foundation.VFS.FilePath MethodsshowList :: [FilePath] -> ShowS Source # Source # Instance detailsDefined in Foundation.VFS.FilePath MethodsshowList :: [Relativity] -> ShowS Source # Instance detailsDefined in GHC.Show MethodsshowList :: [KindRep] -> ShowS Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [Module] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [Ordering] -> ShowS Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [TrName] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [TyCon] -> ShowS Source # Since: base-4.11.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [TypeLitSort] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [Integer] -> ShowS Source # Since: base-4.8.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [Natural] -> ShowS Source # Show () Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> () -> ShowS Source #show :: () -> String Source #showList :: [()] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [Bool] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [Char] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [Int] -> ShowS Source # Since: base-4.15.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [Levity] -> ShowS Source # Since: base-4.11.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [RuntimeRep] -> ShowS Source # Since: base-4.11.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [VecCount] -> ShowS Source # Since: base-4.11.0.0 Instance detailsDefined in GHC.Show MethodsshowList :: [VecElem] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowList :: [Word] -> ShowS Source # Show a => Show (ZipList a) Since: base-4.7.0.0 Instance detailsDefined in Control.Applicative MethodsshowsPrec :: Int -> ZipList a -> ShowS Source #show :: ZipList a -> String Source #showList :: [ZipList a] -> ShowS Source # Show a => Show (And a) Since: base-4.16 Instance detailsDefined in Data.Bits MethodsshowsPrec :: Int -> And a -> ShowS Source #show :: And a -> String Source #showList :: [And a] -> ShowS Source # Show a => Show (Iff a) Since: base-4.16 Instance detailsDefined in Data.Bits MethodsshowsPrec :: Int -> Iff a -> ShowS Source #show :: Iff a -> String Source #showList :: [Iff a] -> ShowS Source # Show a => Show (Ior a) Since: base-4.16 Instance detailsDefined in Data.Bits MethodsshowsPrec :: Int -> Ior a -> ShowS Source #show :: Ior a -> String Source #showList :: [Ior a] -> ShowS Source # Show a => Show (Xor a) Since: base-4.16 Instance detailsDefined in Data.Bits MethodsshowsPrec :: Int -> Xor a -> ShowS Source #show :: Xor a -> String Source #showList :: [Xor a] -> ShowS Source # Show a => Show (Identity a) This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removedSince: base-4.8.0.0 Instance detailsDefined in Data.Functor.Identity MethodsshowsPrec :: Int -> Identity a -> ShowS Source #showList :: [Identity a] -> ShowS Source # Show a => Show (First a) Since: base-2.1 Instance detailsDefined in Data.Monoid MethodsshowsPrec :: Int -> First a -> ShowS Source #show :: First a -> String Source #showList :: [First a] -> ShowS Source # Show a => Show (Last a) Since: base-2.1 Instance detailsDefined in Data.Monoid MethodsshowsPrec :: Int -> Last a -> ShowS Source #show :: Last a -> String Source #showList :: [Last a] -> ShowS Source # Show a => Show (First a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsshowsPrec :: Int -> First a -> ShowS Source #show :: First a -> String Source #showList :: [First a] -> ShowS Source # Show a => Show (Last a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsshowsPrec :: Int -> Last a -> ShowS Source #show :: Last a -> String Source #showList :: [Last a] -> ShowS Source # Show a => Show (Max a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsshowsPrec :: Int -> Max a -> ShowS Source #show :: Max a -> String Source #showList :: [Max a] -> ShowS Source # Show a => Show (Min a) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsshowsPrec :: Int -> Min a -> ShowS Source #show :: Min a -> String Source #showList :: [Min a] -> ShowS Source # Show m => Show (WrappedMonoid m) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsshowList :: [WrappedMonoid m] -> ShowS Source # Show a => Show (Dual a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal MethodsshowsPrec :: Int -> Dual a -> ShowS Source #show :: Dual a -> String Source #showList :: [Dual a] -> ShowS Source # Show a => Show (Product a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal MethodsshowsPrec :: Int -> Product a -> ShowS Source #show :: Product a -> String Source #showList :: [Product a] -> ShowS Source # Show a => Show (Sum a) Since: base-2.1 Instance detailsDefined in Data.Semigroup.Internal MethodsshowsPrec :: Int -> Sum a -> ShowS Source #show :: Sum a -> String Source #showList :: [Sum a] -> ShowS Source # Since: base-2.1 Instance detailsDefined in GHC.ForeignPtr MethodsshowList :: [ForeignPtr a] -> ShowS Source # Show p => Show (Par1 p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> Par1 p -> ShowS Source #show :: Par1 p -> String Source #showList :: [Par1 p] -> ShowS Source # Show (FunPtr a) Since: base-2.1 Instance detailsDefined in GHC.Ptr MethodsshowsPrec :: Int -> FunPtr a -> ShowS Source #show :: FunPtr a -> String Source #showList :: [FunPtr a] -> ShowS Source # Show (Ptr a) Since: base-2.1 Instance detailsDefined in GHC.Ptr MethodsshowsPrec :: Int -> Ptr a -> ShowS Source #show :: Ptr a -> String Source #showList :: [Ptr a] -> ShowS Source # Show a => Show (Ratio a) Since: base-2.0.1 Instance detailsDefined in GHC.Real MethodsshowsPrec :: Int -> Ratio a -> ShowS Source #show :: Ratio a -> String Source #showList :: [Ratio a] -> ShowS Source # Show (Bits n) Instance detailsDefined in Basement.Bits MethodsshowsPrec :: Int -> Bits n -> ShowS Source #show :: Bits n -> String Source #showList :: [Bits n] -> ShowS Source # (PrimType ty, Show ty) => Show (Block ty) Instance detailsDefined in Basement.Block.Base MethodsshowsPrec :: Int -> Block ty -> ShowS Source #show :: Block ty -> String Source #showList :: [Block ty] -> ShowS Source # Show (Zn n) Instance detailsDefined in Basement.Bounded MethodsshowsPrec :: Int -> Zn n -> ShowS Source #show :: Zn n -> String Source #showList :: [Zn n] -> ShowS Source # Show (Zn64 n) Instance detailsDefined in Basement.Bounded MethodsshowsPrec :: Int -> Zn64 n -> ShowS Source #show :: Zn64 n -> String Source #showList :: [Zn64 n] -> ShowS Source # Show a => Show (Array a) Instance detailsDefined in Basement.BoxedArray MethodsshowsPrec :: Int -> Array a -> ShowS Source #show :: Array a -> String Source #showList :: [Array a] -> ShowS Source # Show a => Show (BE a) Instance detailsDefined in Basement.Endianness MethodsshowsPrec :: Int -> BE a -> ShowS Source #show :: BE a -> String Source #showList :: [BE a] -> ShowS Source # Show a => Show (LE a) Instance detailsDefined in Basement.Endianness MethodsshowsPrec :: Int -> LE a -> ShowS Source #show :: LE a -> String Source #showList :: [LE a] -> ShowS Source # Show (FinalPtr a) Instance detailsDefined in Basement.FinalPtr MethodsshowsPrec :: Int -> FinalPtr a -> ShowS Source #showList :: [FinalPtr a] -> ShowS Source # Show a => Show (NonEmpty a) Instance detailsDefined in Basement.NonEmpty MethodsshowsPrec :: Int -> NonEmpty a -> ShowS Source #showList :: [NonEmpty a] -> ShowS Source # Show (CountOf ty) Instance detailsDefined in Basement.Types.OffsetSize MethodsshowsPrec :: Int -> CountOf ty -> ShowS Source #show :: CountOf ty -> String Source #showList :: [CountOf ty] -> ShowS Source # Show (Offset ty) Instance detailsDefined in Basement.Types.OffsetSize MethodsshowsPrec :: Int -> Offset ty -> ShowS Source #show :: Offset ty -> String Source #showList :: [Offset ty] -> ShowS Source # (PrimType ty, Show ty) => Show (UArray ty) Instance detailsDefined in Basement.UArray.Base MethodsshowsPrec :: Int -> UArray ty -> ShowS Source #show :: UArray ty -> String Source #showList :: [UArray ty] -> ShowS Source # (PrimType ty, Show ty) => Show (ChunkedUArray ty) Source # Instance detailsDefined in Foundation.Array.Chunked.Unboxed MethodsshowList :: [ChunkedUArray ty] -> ShowS Source # Show a => Show (DList a) Source # Instance detailsDefined in Foundation.List.DList MethodsshowsPrec :: Int -> DList a -> ShowS Source #show :: DList a -> String Source #showList :: [DList a] -> ShowS Source # Source # Instance detailsDefined in Foundation.Parser Methods Show input => Show (ParseError input) Source # Instance detailsDefined in Foundation.Parser MethodsshowsPrec :: Int -> ParseError input -> ShowS Source #show :: ParseError input -> String Source #showList :: [ParseError input] -> ShowS Source # Show a => Show (NonEmpty a) Since: base-4.11.0.0 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> NonEmpty a -> ShowS Source #showList :: [NonEmpty a] -> ShowS Source # Show a => Show (Maybe a) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> Maybe a -> ShowS Source #show :: Maybe a -> String Source #showList :: [Maybe a] -> ShowS Source # Show a => Show (a) Since: base-4.15 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a) -> ShowS Source #show :: (a) -> String Source #showList :: [(a)] -> ShowS Source # Show a => Show [a] Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> [a] -> ShowS Source #show :: [a] -> String Source #showList :: [[a]] -> ShowS Source # (Show a, Show b) => Show (Either a b) Since: base-3.0 Instance detailsDefined in Data.Either MethodsshowsPrec :: Int -> Either a b -> ShowS Source #show :: Either a b -> String Source #showList :: [Either a b] -> ShowS Source # Show (Proxy s) Since: base-4.7.0.0 Instance detailsDefined in Data.Proxy MethodsshowsPrec :: Int -> Proxy s -> ShowS Source #show :: Proxy s -> String Source #showList :: [Proxy s] -> ShowS Source # (Show a, Show b) => Show (Arg a b) Since: base-4.9.0.0 Instance detailsDefined in Data.Semigroup MethodsshowsPrec :: Int -> Arg a b -> ShowS Source #show :: Arg a b -> String Source #showList :: [Arg a b] -> ShowS Source # Show (TypeRep a) Instance detailsDefined in Data.Typeable.Internal MethodsshowsPrec :: Int -> TypeRep a -> ShowS Source #show :: TypeRep a -> String Source #showList :: [TypeRep a] -> ShowS Source # Show (U1 p) Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> U1 p -> ShowS Source #show :: U1 p -> String Source #showList :: [U1 p] -> ShowS Source # Show (V1 p) Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> V1 p -> ShowS Source #show :: V1 p -> String Source #showList :: [V1 p] -> ShowS Source # Show (ST s a) Since: base-2.1 Instance detailsDefined in GHC.ST MethodsshowsPrec :: Int -> ST s a -> ShowS Source #show :: ST s a -> String Source #showList :: [ST s a] -> ShowS Source # (PrimType a, Show a) => Show (BlockN n a) Instance detailsDefined in Basement.Sized.Block MethodsshowsPrec :: Int -> BlockN n a -> ShowS Source #show :: BlockN n a -> String Source #showList :: [BlockN n a] -> ShowS Source # Show a => Show (ListN n a) Instance detailsDefined in Basement.Sized.List MethodsshowsPrec :: Int -> ListN n a -> ShowS Source #show :: ListN n a -> String Source #showList :: [ListN n a] -> ShowS Source # (Show a, Show b) => Show (These a b) Instance detailsDefined in Basement.These MethodsshowsPrec :: Int -> These a b -> ShowS Source #show :: These a b -> String Source #showList :: [These a b] -> ShowS Source # (Show k, Show input) => Show (Result input k) Source # Instance detailsDefined in Foundation.Parser MethodsshowsPrec :: Int -> Result input k -> ShowS Source #show :: Result input k -> String Source #showList :: [Result input k] -> ShowS Source # (Show a, Show b) => Show (Tuple2 a b) Source # Instance detailsDefined in Foundation.Tuple MethodsshowsPrec :: Int -> Tuple2 a b -> ShowS Source #show :: Tuple2 a b -> String Source #showList :: [Tuple2 a b] -> ShowS Source # (Show a, Show b) => Show (a, b) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b) -> ShowS Source #show :: (a, b) -> String Source #showList :: [(a, b)] -> ShowS Source # Show a => Show (Const a b) This instance would be equivalent to the derived instances of the Const newtype if the getConst field were removedSince: base-4.8.0.0 Instance detailsDefined in Data.Functor.Const MethodsshowsPrec :: Int -> Const a b -> ShowS Source #show :: Const a b -> String Source #showList :: [Const a b] -> ShowS Source # Show (f a) => Show (Ap f a) Since: base-4.12.0.0 Instance detailsDefined in Data.Monoid MethodsshowsPrec :: Int -> Ap f a -> ShowS Source #show :: Ap f a -> String Source #showList :: [Ap f a] -> ShowS Source # Show (f a) => Show (Alt f a) Since: base-4.8.0.0 Instance detailsDefined in Data.Semigroup.Internal MethodsshowsPrec :: Int -> Alt f a -> ShowS Source #show :: Alt f a -> String Source #showList :: [Alt f a] -> ShowS Source # Show (a :~: b) Since: base-4.7.0.0 Instance detailsDefined in Data.Type.Equality MethodsshowsPrec :: Int -> (a :~: b) -> ShowS Source #show :: (a :~: b) -> String Source #showList :: [a :~: b] -> ShowS Source # Show (OrderingI a b) Instance detailsDefined in Data.Type.Ord MethodsshowsPrec :: Int -> OrderingI a b -> ShowS Source #show :: OrderingI a b -> String Source #showList :: [OrderingI a b] -> ShowS Source # Show (f p) => Show (Rec1 f p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> Rec1 f p -> ShowS Source #show :: Rec1 f p -> String Source #showList :: [Rec1 f p] -> ShowS Source # Show (URec Char p) Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> URec Char p -> ShowS Source #showList :: [URec Char p] -> ShowS Source # Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics MethodsshowList :: [URec Double p] -> ShowS Source # Instance detailsDefined in GHC.Generics MethodsshowList :: [URec Float p] -> ShowS Source # Show (URec Int p) Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> URec Int p -> ShowS Source #show :: URec Int p -> String Source #showList :: [URec Int p] -> ShowS Source # Show (URec Word p) Since: base-4.9.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> URec Word p -> ShowS Source #showList :: [URec Word p] -> ShowS Source # (Show a, Show b, Show c) => Show (Tuple3 a b c) Source # Instance detailsDefined in Foundation.Tuple MethodsshowsPrec :: Int -> Tuple3 a b c -> ShowS Source #show :: Tuple3 a b c -> String Source #showList :: [Tuple3 a b c] -> ShowS Source # (Show a, Show b, Show c) => Show (a, b, c) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c) -> ShowS Source #show :: (a, b, c) -> String Source #showList :: [(a, b, c)] -> ShowS Source # Show (a :~~: b) Since: base-4.10.0.0 Instance detailsDefined in Data.Type.Equality MethodsshowsPrec :: Int -> (a :~~: b) -> ShowS Source #show :: (a :~~: b) -> String Source #showList :: [a :~~: b] -> ShowS Source # (Show (f p), Show (g p)) => Show ((f :*: g) p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> (f :*: g) p -> ShowS Source #show :: (f :*: g) p -> String Source #showList :: [(f :*: g) p] -> ShowS Source # (Show (f p), Show (g p)) => Show ((f :+: g) p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> (f :+: g) p -> ShowS Source #show :: (f :+: g) p -> String Source #showList :: [(f :+: g) p] -> ShowS Source # Show c => Show (K1 i c p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> K1 i c p -> ShowS Source #show :: K1 i c p -> String Source #showList :: [K1 i c p] -> ShowS Source # (Show a, Show b, Show c, Show d) => Show (Tuple4 a b c d) Source # Instance detailsDefined in Foundation.Tuple MethodsshowsPrec :: Int -> Tuple4 a b c d -> ShowS Source #show :: Tuple4 a b c d -> String Source #showList :: [Tuple4 a b c d] -> ShowS Source # (Show a, Show b, Show c, Show d) => Show (a, b, c, d) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d) -> ShowS Source #show :: (a, b, c, d) -> String Source #showList :: [(a, b, c, d)] -> ShowS Source # Show (f (g p)) => Show ((f :.: g) p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> (f :.: g) p -> ShowS Source #show :: (f :.: g) p -> String Source #showList :: [(f :.: g) p] -> ShowS Source # Show (f p) => Show (M1 i c f p) Since: base-4.7.0.0 Instance detailsDefined in GHC.Generics MethodsshowsPrec :: Int -> M1 i c f p -> ShowS Source #show :: M1 i c f p -> String Source #showList :: [M1 i c f p] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e) => Show (a, b, c, d, e) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e) -> ShowS Source #show :: (a, b, c, d, e) -> String Source #showList :: [(a, b, c, d, e)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f) => Show (a, b, c, d, e, f) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f) -> ShowS Source #show :: (a, b, c, d, e, f) -> String Source #showList :: [(a, b, c, d, e, f)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g) => Show (a, b, c, d, e, f, g) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g) -> ShowS Source #show :: (a, b, c, d, e, f, g) -> String Source #showList :: [(a, b, c, d, e, f, g)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h) => Show (a, b, c, d, e, f, g, h) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h) -> ShowS Source #show :: (a, b, c, d, e, f, g, h) -> String Source #showList :: [(a, b, c, d, e, f, g, h)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i) => Show (a, b, c, d, e, f, g, h, i) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j) => Show (a, b, c, d, e, f, g, h, i, j) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i, j) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i, j)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k) => Show (a, b, c, d, e, f, g, h, i, j, k) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i, j, k) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l) => Show (a, b, c, d, e, f, g, h, i, j, k, l) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i, j, k, l) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m) => Show (a, b, c, d, e, f, g, h, i, j, k, l, m) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n) => Show (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> ShowS Source # (Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n, Show o) => Show (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Since: base-2.1 Instance detailsDefined in GHC.Show MethodsshowsPrec :: Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> ShowS Source #show :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> String Source #showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> ShowS