Movatterモバイル変換


[0]ホーム

URL:


base-4.12.0.0: Basic libraries

Copyright(c) The University of Glasgow 2001
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainerlibraries@haskell.org
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Text.Show

Description

Converting values to readable strings: theShow class and associated functions.

Synopsis

Documentation

typeShowS =String ->StringSource#

Theshows functions return a function that prepends the outputString to an existingString. This allows constant-time concatenation of results using function composition.

classShow awhereSource#

Conversion of values to readableStrings.

Derived instances ofShow have the following properties, which are compatible with derived instances ofRead:

  • The result ofshow 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, thenshowsPrec will produce infix applications of the constructor.
  • the representation will be enclosed in parentheses if the precedence of the top-level constructor inx is less thand (associativity is ignored). Thus, ifd is0 then the result is never surrounded in parentheses; ifd is11 it is always surrounded in parentheses, unless it is an atomic expression.
  • If the constructor is defined using record syntax, thenshow 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 ofShow 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

showsPrec |show

Methods

showsPrecSource#

Arguments

::Int

the operator precedence of the enclosing context (a number from0 to11). Function application has precedence10.

-> a

the value to be converted to aString

->ShowS 

Convert a value to a readableString.

showsPrec should satisfy the law

showsPrec d x r ++ s  ==  showsPrec d x (r ++ s)

Derived instances ofRead andShow satisfy the following:

That is,readsPrec parses the string produced byshowsPrec, and delivers the value thatshowsPrec started with.

show :: a ->StringSource#

A specialised variant ofshowsPrec, using precedence context zero, and returning an ordinaryString.

showList :: [a] ->ShowSSource#

The methodshowList is provided to allow the programmer to give a specialised way of showing lists of values. For example, this is used by the predefinedShow instance of theChar type, where values of typeString should be shown in double quotes, rather than between square brackets.

Instances
ShowBoolSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowCharSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowDoubleSource#

Since: 2.1

Instance details

Defined inGHC.Float

ShowFloatSource#

Since: 2.1

Instance details

Defined inGHC.Float

ShowIntSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowInt8Source#

Since: 2.1

Instance details

Defined inGHC.Int

ShowInt16Source#

Since: 2.1

Instance details

Defined inGHC.Int

ShowInt32Source#

Since: 2.1

Instance details

Defined inGHC.Int

ShowInt64Source#

Since: 2.1

Instance details

Defined inGHC.Int

ShowIntegerSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowNaturalSource#

Since: 4.8.0.0

Instance details

Defined inGHC.Show

ShowOrderingSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowWordSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowWord8Source#

Since: 2.1

Instance details

Defined inGHC.Word

ShowWord16Source#

Since: 2.1

Instance details

Defined inGHC.Word

ShowWord32Source#

Since: 2.1

Instance details

Defined inGHC.Word

ShowWord64Source#

Since: 2.1

Instance details

Defined inGHC.Word

ShowRuntimeRepSource#

Since: 4.11.0.0

Instance details

Defined inGHC.Show

ShowVecCountSource#

Since: 4.11.0.0

Instance details

Defined inGHC.Show

ShowVecElemSource#

Since: 4.11.0.0

Instance details

Defined inGHC.Show

ShowCallStackSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Show

ShowSomeTypeRepSource#

Since: 4.10.0.0

Instance details

Defined inData.Typeable.Internal

Show ()Source#

Since: 2.1

Instance details

Defined inGHC.Show

ShowTyConSource#

Since: 2.1

Instance details

Defined inGHC.Show

ShowModuleSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Show

ShowTrNameSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Show

ShowKindRepSource# 
Instance details

Defined inGHC.Show

ShowTypeLitSortSource#

Since: 4.11.0.0

Instance details

Defined inGHC.Show

ShowSomeExceptionSource#

Since: 3.0

Instance details

Defined inGHC.Exception.Type

ShowSrcLocSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Show

ShowGeneralCategorySource#

Since: 2.1

Instance details

Defined inGHC.Unicode

ShowNumberSource#

Since: 4.6.0.0

Instance details

Defined inText.Read.Lex

ShowLexemeSource#

Since: 2.1

Instance details

Defined inText.Read.Lex

ShowFingerprintSource#

Since: 4.7.0.0

Instance details

Defined inGHC.Fingerprint.Type

ShowIOModeSource#

Since: 4.2.0.0

Instance details

Defined inGHC.IO.IOMode

ShowIntPtrSource# 
Instance details

Defined inForeign.Ptr

ShowWordPtrSource# 
Instance details

Defined inForeign.Ptr

ShowCUIntMaxSource# 
Instance details

Defined inForeign.C.Types

ShowCIntMaxSource# 
Instance details

Defined inForeign.C.Types

ShowCUIntPtrSource# 
Instance details

Defined inForeign.C.Types

ShowCIntPtrSource# 
Instance details

Defined inForeign.C.Types

ShowCSUSecondsSource# 
Instance details

Defined inForeign.C.Types

ShowCUSecondsSource# 
Instance details

Defined inForeign.C.Types

ShowCTimeSource# 
Instance details

Defined inForeign.C.Types

ShowCClockSource# 
Instance details

Defined inForeign.C.Types

ShowCSigAtomicSource# 
Instance details

Defined inForeign.C.Types

ShowCWcharSource# 
Instance details

Defined inForeign.C.Types

ShowCSizeSource# 
Instance details

Defined inForeign.C.Types

ShowCPtrdiffSource# 
Instance details

Defined inForeign.C.Types

ShowCDoubleSource# 
Instance details

Defined inForeign.C.Types

ShowCFloatSource# 
Instance details

Defined inForeign.C.Types

ShowCBoolSource# 
Instance details

Defined inForeign.C.Types

ShowCULLongSource# 
Instance details

Defined inForeign.C.Types

ShowCLLongSource# 
Instance details

Defined inForeign.C.Types

ShowCULongSource# 
Instance details

Defined inForeign.C.Types

ShowCLongSource# 
Instance details

Defined inForeign.C.Types

ShowCUIntSource# 
Instance details

Defined inForeign.C.Types

ShowCIntSource# 
Instance details

Defined inForeign.C.Types

ShowCUShortSource# 
Instance details

Defined inForeign.C.Types

ShowCShortSource# 
Instance details

Defined inForeign.C.Types

ShowCUCharSource# 
Instance details

Defined inForeign.C.Types

ShowCSCharSource# 
Instance details

Defined inForeign.C.Types

ShowCCharSource# 
Instance details

Defined inForeign.C.Types

ShowSomeNatSource#

Since: 4.7.0.0

Instance details

Defined inGHC.TypeNats

ShowSomeSymbolSource#

Since: 4.7.0.0

Instance details

Defined inGHC.TypeLits

ShowDecidedStrictnessSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

ShowSourceStrictnessSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

ShowSourceUnpackednessSource#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

ShowAssociativitySource#

Since: 4.6.0.0

Instance details

Defined inGHC.Generics

ShowFixitySource#

Since: 4.6.0.0

Instance details

Defined inGHC.Generics

ShowAnySource#

Since: 2.1

Instance details

Defined inData.Semigroup.Internal

ShowAllSource#

Since: 2.1

Instance details

Defined inData.Semigroup.Internal

ShowArithExceptionSource#

Since: 4.0.0.0

Instance details

Defined inGHC.Exception.Type

ShowErrorCallSource#

Since: 4.0.0.0

Instance details

Defined inGHC.Exception

ShowIOExceptionSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowMaskingStateSource#

Since: 4.3.0.0

Instance details

Defined inGHC.IO

ShowCodingProgressSource#

Since: 4.4.0.0

Instance details

Defined inGHC.IO.Encoding.Types

ShowTextEncodingSource#

Since: 4.3.0.0

Instance details

Defined inGHC.IO.Encoding.Types

ShowSeekModeSource#

Since: 4.2.0.0

Instance details

Defined inGHC.IO.Device

ShowNewlineModeSource#

Since: 4.3.0.0

Instance details

Defined inGHC.IO.Handle.Types

ShowNewlineSource#

Since: 4.3.0.0

Instance details

Defined inGHC.IO.Handle.Types

ShowBufferModeSource#

Since: 4.2.0.0

Instance details

Defined inGHC.IO.Handle.Types

ShowHandleSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Handle.Types

ShowIOErrorTypeSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowExitCodeSource# 
Instance details

Defined inGHC.IO.Exception

ShowFixIOExceptionSource#

Since: 4.11.0.0

Instance details

Defined inGHC.IO.Exception

ShowArrayExceptionSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowAsyncExceptionSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowSomeAsyncExceptionSource#

Since: 4.7.0.0

Instance details

Defined inGHC.IO.Exception

ShowAssertionFailedSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowCompactionFailedSource#

Since: 4.10.0.0

Instance details

Defined inGHC.IO.Exception

ShowAllocationLimitExceededSource#

Since: 4.7.1.0

Instance details

Defined inGHC.IO.Exception

ShowDeadlockSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowBlockedIndefinitelyOnSTMSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowBlockedIndefinitelyOnMVarSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Exception

ShowCodingFailureModeSource#

Since: 4.4.0.0

Instance details

Defined inGHC.IO.Encoding.Failure

ShowFdSource# 
Instance details

Defined inSystem.Posix.Types

ShowCTimerSource# 
Instance details

Defined inSystem.Posix.Types

ShowCKeySource# 
Instance details

Defined inSystem.Posix.Types

ShowCIdSource# 
Instance details

Defined inSystem.Posix.Types

ShowCFsFilCntSource# 
Instance details

Defined inSystem.Posix.Types

ShowCFsBlkCntSource# 
Instance details

Defined inSystem.Posix.Types

ShowCClockIdSource# 
Instance details

Defined inSystem.Posix.Types

ShowCBlkCntSource# 
Instance details

Defined inSystem.Posix.Types

ShowCBlkSizeSource# 
Instance details

Defined inSystem.Posix.Types

ShowCRLimSource# 
Instance details

Defined inSystem.Posix.Types

ShowCTcflagSource# 
Instance details

Defined inSystem.Posix.Types

ShowCSpeedSource# 
Instance details

Defined inSystem.Posix.Types

ShowCCcSource# 
Instance details

Defined inSystem.Posix.Types

ShowCUidSource# 
Instance details

Defined inSystem.Posix.Types

ShowCNlinkSource# 
Instance details

Defined inSystem.Posix.Types

ShowCGidSource# 
Instance details

Defined inSystem.Posix.Types

ShowCSsizeSource# 
Instance details

Defined inSystem.Posix.Types

ShowCPidSource# 
Instance details

Defined inSystem.Posix.Types

ShowCOffSource# 
Instance details

Defined inSystem.Posix.Types

ShowCModeSource# 
Instance details

Defined inSystem.Posix.Types

ShowCInoSource# 
Instance details

Defined inSystem.Posix.Types

ShowCDevSource# 
Instance details

Defined inSystem.Posix.Types

ShowLifetimeSource#

Since: 4.8.1.0

Instance details

Defined inGHC.Event.Internal

ShowEventSource#

Since: 4.4.0.0

Instance details

Defined inGHC.Event.Internal

ShowDynamicSource#

Since: 2.1

Instance details

Defined inData.Dynamic

ShowThreadStatusSource#

Since: 4.3.0.0

Instance details

Defined inGHC.Conc.Sync

ShowBlockReasonSource#

Since: 4.3.0.0

Instance details

Defined inGHC.Conc.Sync

ShowThreadIdSource#

Since: 4.2.0.0

Instance details

Defined inGHC.Conc.Sync

ShowNestedAtomicallySource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowNonTerminationSource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowTypeErrorSource#

Since: 4.9.0.0

Instance details

Defined inControl.Exception.Base

ShowNoMethodErrorSource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowRecUpdErrorSource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowRecConErrorSource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowRecSelErrorSource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowPatternMatchFailSource#

Since: 4.0

Instance details

Defined inControl.Exception.Base

ShowFdKeySource#

Since: 4.4.0.0

Instance details

Defined inGHC.Event.Manager

ShowFileLockingNotSupportedSource#

Since: 4.10.0.0

Instance details

Defined inGHC.IO.Handle.Lock

ShowHandlePosnSource#

Since: 4.1.0.0

Instance details

Defined inGHC.IO.Handle

ShowVersionSource#

Since: 2.1

Instance details

Defined inData.Version

ShowByteOrderSource#

Since: 4.11.0.0

Instance details

Defined inGHC.ByteOrder

ShowGCDetailsSource#

Since: 4.10.0.0

Instance details

Defined inGHC.Stats

ShowRTSStatsSource#

Since: 4.10.0.0

Instance details

Defined inGHC.Stats

ShowRTSFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowParFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowTickyFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowTraceFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowDoTraceSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowProfFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowDoHeapProfileSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowCCFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowDoCostCentresSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowDebugFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowMiscFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowConcFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowGCFlagsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowGiveGCStatsSource#

Since: 4.8.0.0

Instance details

Defined inGHC.RTS.Flags

ShowFixitySource#

Since: 4.0.0.0

Instance details

Defined inData.Data

ShowConstrRepSource#

Since: 4.0.0.0

Instance details

Defined inData.Data

ShowDataRepSource#

Since: 4.0.0.0

Instance details

Defined inData.Data

ShowConstrSource#

Since: 4.0.0.0

Instance details

Defined inData.Data

ShowDataTypeSource#

Since: 4.0.0.0

Instance details

Defined inData.Data

ShowStaticPtrInfoSource#

Since: 4.8.0.0

Instance details

Defined inGHC.StaticPtr

ShowVoidSource#

Since: 4.8.0.0

Instance details

Defined inData.Void

Show a =>Show [a]Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> [a] ->ShowSSource#

show :: [a] ->StringSource#

showList :: [[a]] ->ShowSSource#

Show a =>Show (Maybe a)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Show a =>Show (Ratio a)Source#

Since: 2.0.1

Instance details

Defined inGHC.Real

Show (Ptr a)Source#

Since: 2.1

Instance details

Defined inGHC.Ptr

Show (FunPtr a)Source#

Since: 2.1

Instance details

Defined inGHC.Ptr

Show p =>Show (Par1 p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Show a =>Show (NonEmpty a)Source#

Since: 4.11.0.0

Instance details

Defined inGHC.Show

Show a =>Show (Down a)Source#

Since: 4.7.0.0

Instance details

Defined inData.Ord

Show a =>Show (Product a)Source#

Since: 2.1

Instance details

Defined inData.Semigroup.Internal

Show a =>Show (Sum a)Source#

Since: 2.1

Instance details

Defined inData.Semigroup.Internal

Show a =>Show (Dual a)Source#

Since: 2.1

Instance details

Defined inData.Semigroup.Internal

Show a =>Show (Last a)Source#

Since: 2.1

Instance details

Defined inData.Monoid

Show a =>Show (First a)Source#

Since: 2.1

Instance details

Defined inData.Monoid

Show (ForeignPtr a)Source#

Since: 2.1

Instance details

Defined inGHC.ForeignPtr

Show a =>Show (Identity a)Source#

This instance would be equivalent to the derived instances of theIdentity newtype if therunIdentity field were removed

Since: 4.8.0.0

Instance details

Defined inData.Functor.Identity

Show a =>Show (ZipList a)Source#

Since: 4.7.0.0

Instance details

Defined inControl.Applicative

Show a =>Show (Option a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

Show m =>Show (WrappedMonoid m)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

Show a =>Show (Last a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

Show a =>Show (First a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

Show a =>Show (Max a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

Show a =>Show (Min a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

HasResolution a =>Show (Fixed a)Source#

Since: 2.1

Instance details

Defined inData.Fixed

Show a =>Show (Complex a)Source#

Since: 2.1

Instance details

Defined inData.Complex

Show (a -> b)Source#

Since: 2.1

Instance details

Defined inText.Show.Functions

Methods

showsPrec ::Int -> (a -> b) ->ShowSSource#

show :: (a -> b) ->StringSource#

showList :: [a -> b] ->ShowSSource#

(Show a,Show b) =>Show (Either a b)Source#

Since: 3.0

Instance details

Defined inData.Either

Show (V1 p)Source#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

Show (U1 p)Source#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

Show (TypeRep a)Source# 
Instance details

Defined inData.Typeable.Internal

(Show a,Show b) =>Show (a, b)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b) ->ShowSSource#

show :: (a, b) ->StringSource#

showList :: [(a, b)] ->ShowSSource#

Show (ST s a)Source#

Since: 2.1

Instance details

Defined inGHC.ST

Show (Proxy s)Source#

Since: 4.7.0.0

Instance details

Defined inData.Proxy

(Show a,Show b) =>Show (Arg a b)Source#

Since: 4.9.0.0

Instance details

Defined inData.Semigroup

Show (f p) =>Show (Rec1 f p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Show (URecWord p)Source#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

Show (URecInt p)Source#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

Show (URecFloat p)Source# 
Instance details

Defined inGHC.Generics

Show (URecDouble p)Source#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

Show (URecChar p)Source#

Since: 4.9.0.0

Instance details

Defined inGHC.Generics

(Show a,Show b,Show c) =>Show (a, b, c)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c) ->ShowSSource#

show :: (a, b, c) ->StringSource#

showList :: [(a, b, c)] ->ShowSSource#

Show (a:~: b)Source#

Since: 4.7.0.0

Instance details

Defined inData.Type.Equality

Show (Coercion a b)Source#

Since: 4.7.0.0

Instance details

Defined inData.Type.Coercion

Show (f a) =>Show (Alt f a)Source#

Since: 4.8.0.0

Instance details

Defined inData.Semigroup.Internal

Show (f a) =>Show (Ap f a)Source#

Since: 4.12.0.0

Instance details

Defined inData.Monoid

Show a =>Show (Const a b)Source#

This instance would be equivalent to the derived instances of theConst newtype if therunConst field were removed

Since: 4.8.0.0

Instance details

Defined inData.Functor.Const

Show c =>Show (K1 i c p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Methods

showsPrec ::Int ->K1 i c p ->ShowSSource#

show ::K1 i c p ->StringSource#

showList :: [K1 i c p] ->ShowSSource#

(Show (f p),Show (g p)) =>Show ((f:+: g) p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Methods

showsPrec ::Int -> (f:+: g) p ->ShowSSource#

show :: (f:+: g) p ->StringSource#

showList :: [(f:+: g) p] ->ShowSSource#

(Show (f p),Show (g p)) =>Show ((f:*: g) p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Methods

showsPrec ::Int -> (f:*: g) p ->ShowSSource#

show :: (f:*: g) p ->StringSource#

showList :: [(f:*: g) p] ->ShowSSource#

(Show a,Show b,Show c,Show d) =>Show (a, b, c, d)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d) ->ShowSSource#

show :: (a, b, c, d) ->StringSource#

showList :: [(a, b, c, d)] ->ShowSSource#

Show (a:~~: b)Source#

Since: 4.10.0.0

Instance details

Defined inData.Type.Equality

(Show1 f,Show1 g,Show a) =>Show (Sum f g a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Functor.Sum

Methods

showsPrec ::Int ->Sum f g a ->ShowSSource#

show ::Sum f g a ->StringSource#

showList :: [Sum f g a] ->ShowSSource#

(Show1 f,Show1 g,Show a) =>Show (Product f g a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Functor.Product

Show (f p) =>Show (M1 i c f p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Methods

showsPrec ::Int ->M1 i c f p ->ShowSSource#

show ::M1 i c f p ->StringSource#

showList :: [M1 i c f p] ->ShowSSource#

Show (f (g p)) =>Show ((f:.: g) p)Source#

Since: 4.7.0.0

Instance details

Defined inGHC.Generics

Methods

showsPrec ::Int -> (f:.: g) p ->ShowSSource#

show :: (f:.: g) p ->StringSource#

showList :: [(f:.: g) p] ->ShowSSource#

(Show a,Show b,Show c,Show d,Show e) =>Show (a, b, c, d, e)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e) ->ShowSSource#

show :: (a, b, c, d, e) ->StringSource#

showList :: [(a, b, c, d, e)] ->ShowSSource#

(Show1 f,Show1 g,Show a) =>Show (Compose f g a)Source#

Since: 4.9.0.0

Instance details

Defined inData.Functor.Compose

(Show a,Show b,Show c,Show d,Show e,Show f) =>Show (a, b, c, d, e, f)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f) ->ShowSSource#

show :: (a, b, c, d, e, f) ->StringSource#

showList :: [(a, b, c, d, e, f)] ->ShowSSource#

(Show a,Show b,Show c,Show d,Show e,Show f,Show g) =>Show (a, b, c, d, e, f, g)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g) ->ShowSSource#

show :: (a, b, c, d, e, f, g) ->StringSource#

showList :: [(a, b, c, d, e, f, g)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i, j) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i, j) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i, j)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i, j, k) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i, j, k) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i, j, k)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i, j, k, l) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i, j, k, l) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i, j, k, l, m) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] ->ShowSSource#

(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)Source#

Since: 2.1

Instance details

Defined inGHC.Show

Methods

showsPrec ::Int -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) ->ShowSSource#

show :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) ->StringSource#

showList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] ->ShowSSource#

shows ::Show a => a ->ShowSSource#

equivalent toshowsPrec with a precedence of 0.

showChar ::Char ->ShowSSource#

utility function converting aChar to a show function that simply prepends the character unchanged.

showString ::String ->ShowSSource#

utility function converting aString to a show function that simply prepends the string unchanged.

showParen ::Bool ->ShowS ->ShowSSource#

utility function that surrounds the inner show function with parentheses when theBool parameter isTrue.

showListWith :: (a ->ShowS) -> [a] ->ShowSSource#

Show a list (using square brackets and commas), given a function for showing elements.

Produced byHaddock version 2.20.0


[8]ページ先頭

©2009-2025 Movatter.jp