| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.ByteString.IsoBaseFileFormat.ReExports
Contents
Description
A module of re-exports and orphan instances
Synopsis
- trace :: String -> a -> a
- class IsString a where
- fromString :: String -> a
- fold :: (Foldable t, Monoid m) => t m -> m
- class KnownNat (n :: Nat)
- class KnownSymbol (n :: Symbol)
- (<>) :: Semigroup a => a -> a -> a
- class Semigroup a => Monoid a where
- data Int
- data Int8
- data Int16
- data Int32
- data Int64
- data Maybe a
- class a ~# b => (a :: k0) ~~ (b :: k1)
- data Word
- data Word8
- data Word16
- data Word32
- data Word64
- type Type = Type
- data Constraint
- data Nat
- data Symbol
- type family (a :: Nat) + (b :: Nat) :: Nat where ...
- type family (a :: Nat) * (b :: Nat) :: Nat where ...
- type family (a :: Nat) ^ (b :: Nat) :: Nat where ...
- type family (a :: Nat) <=? (b :: Nat) :: Bool where ...
- type family (a :: Nat) - (b :: Nat) :: Nat where ...
- type family CmpSymbol (a :: Symbol) (b :: Symbol) :: Ordering where ...
- type family CmpNat (a :: Nat) (b :: Nat) :: Ordering where ...
- type family Div (a :: Nat) (b :: Nat) :: Nat where ...
- type family Mod (a :: Nat) (b :: Nat) :: Nat where ...
- type family Log2 (a :: Nat) :: Nat where ...
- type family TypeError (a :: ErrorMessage) :: b where ...
- type family AppendSymbol (a :: Symbol) (b :: Symbol) :: Symbol where ...
- errorBadArgument :: a
- errorMissingArgument :: a
- errorShortFormat :: a
- errorBadFormat :: Char -> a
- perror :: String -> a
- formatRealFloat :: RealFloat a => a -> FieldFormatter
- formatInteger :: Integer -> FieldFormatter
- formatInt :: (Integral a, Bounded a) => a -> FieldFormatter
- formatString :: IsChar a => [a] -> FieldFormatter
- formatChar :: Char -> FieldFormatter
- vFmt :: Char -> FieldFormat -> FieldFormat
- hPrintf :: HPrintfType r => Handle -> String -> r
- printf :: PrintfType r => String -> r
- class PrintfType t
- class HPrintfType t
- class PrintfArg a where
- formatArg :: a -> FieldFormatter
- parseFormat :: a -> ModifierParser
- class IsChar c where
- data FormatAdjustment
- data FormatSign
- data FieldFormat = FieldFormat {}
- data FormatParse = FormatParse {}
- type FieldFormatter = FieldFormat -> ShowS
- type ModifierParser = String -> FormatParse
- traceMarkerIO :: String -> IO ()
- traceMarker :: String -> a -> a
- traceEventIO :: String -> IO ()
- traceEvent :: String -> a -> a
- traceStack :: String -> a -> a
- traceShowM :: (Show a, Applicative f) => a -> f ()
- traceM :: Applicative f => String -> f ()
- traceShowId :: Show a => a -> a
- traceShow :: Show a => a -> b -> b
- traceId :: String -> String
- putTraceMsg :: String -> IO ()
- traceIO :: String -> IO ()
- newtype First a = First {}
- newtype Last a = Last {}
- newtype Ap (f :: k -> Type) (a :: k) :: forall k. (k -> Type) -> k -> Type = Ap {
- getAp :: f a
- newtype Dual a = Dual {
- getDual :: a
- newtype Endo a = Endo {
- appEndo :: a -> a
- newtype All = All {}
- newtype Any = Any {}
- newtype Sum a = Sum {
- getSum :: a
- newtype Product a = Product {
- getProduct :: a
- newtype Alt (f :: k -> Type) (a :: k) :: forall k. (k -> Type) -> k -> Type = Alt {
- getAlt :: f a
- sameSymbol :: (KnownSymbol a, KnownSymbol b) => Proxy a -> Proxy b -> Maybe (a :~: b)
- someSymbolVal :: String -> SomeSymbol
- someNatVal :: Integer -> Maybe SomeNat
- symbolVal' :: KnownSymbol n => Proxy# n -> String
- natVal' :: KnownNat n => Proxy# n -> Integer
- symbolVal :: KnownSymbol n => proxy n -> String
- natVal :: KnownNat n => proxy n -> Integer
- data SomeSymbol where
- SomeSymbol :: forall (n :: Symbol). KnownSymbol n => Proxy n -> SomeSymbol
- data ErrorMessage where
- Text :: forall. Symbol -> ErrorMessage
- ShowType :: forall t. t -> ErrorMessage
- (:<>:) :: forall. ErrorMessage -> ErrorMessage -> ErrorMessage
- (:$$:) :: forall. ErrorMessage -> ErrorMessage -> ErrorMessage
- sameNat :: (KnownNat a, KnownNat b) => Proxy a -> Proxy b -> Maybe (a :~: b)
- data SomeNat where
- type (<=) (x :: Nat) (y :: Nat) = (x <=? y) ~ True
- unwords :: [String] -> String
- words :: String -> [String]
- unlines :: [String] -> String
- lines :: String -> [String]
- asProxyTypeOf :: a -> proxy a -> a
- data Proxy (t :: k) :: forall k. k -> Type = Proxy
- data KProxy t = KProxy
- outer :: (f a :~: g b) -> f :~: g
- inner :: (f a :~: g b) -> a :~: b
- apply :: (f :~: g) -> (a :~: b) -> f a :~: g b
- gcastWith :: (a :~: b) -> ((a ~ b) -> r) -> r
- castWith :: (a :~: b) -> a -> b
- trans :: (a :~: b) -> (b :~: c) -> a :~: c
- sym :: (a :~: b) -> b :~: a
- data (a :: k) :~: (b :: k) :: forall k. k -> k -> Type where
- data (a :: k1) :~~: (b :: k2) :: forall k1 k2. k1 -> k2 -> Type where
- class TestEquality (f :: k -> Type) where
- testEquality :: f a -> f b -> Maybe (a :~: b)
- type family (a :: k) == (b :: k) :: Bool where ...
- byteSwap64 :: Word64 -> Word64
- byteSwap32 :: Word32 -> Word32
- byteSwap16 :: Word16 -> Word16
- toIntegralSized :: (Integral a, Integral b, Bits a, Bits b) => a -> Maybe b
- popCountDefault :: (Bits a, Num a) => a -> Int
- testBitDefault :: (Bits a, Num a) => a -> Int -> Bool
- bitDefault :: (Bits a, Num a) => Int -> a
- class Eq a => Bits a where
- (.&.) :: a -> a -> a
- (.|.) :: a -> a -> a
- xor :: a -> a -> a
- complement :: a -> a
- shift :: a -> Int -> a
- rotate :: a -> Int -> a
- zeroBits :: a
- bit :: Int -> a
- setBit :: a -> Int -> a
- clearBit :: a -> Int -> a
- complementBit :: a -> Int -> a
- testBit :: a -> Int -> Bool
- bitSizeMaybe :: a -> Maybe Int
- bitSize :: a -> Int
- isSigned :: a -> Bool
- shiftL :: a -> Int -> a
- unsafeShiftL :: a -> Int -> a
- shiftR :: a -> Int -> a
- unsafeShiftR :: a -> Int -> a
- rotateL :: a -> Int -> a
- rotateR :: a -> Int -> a
- popCount :: a -> Int
- class Bits b => FiniteBits b where
- finiteBitSize :: b -> Int
- countLeadingZeros :: b -> Int
- countTrailingZeros :: b -> Int
- type family If (cond :: Bool) (tru :: k) (fls :: k) :: k where ...
- type family (a :: Bool) && (b :: Bool) :: Bool where ...
- type family (a :: Bool) || (b :: Bool) :: Bool where ...
- type family Not (a :: Bool) = (res :: Bool) | res -> a where ...
- mapMaybe :: (a -> Maybe b) -> [a] -> [b]
- catMaybes :: [Maybe a] -> [a]
- listToMaybe :: [a] -> Maybe a
- maybeToList :: Maybe a -> [a]
- fromMaybe :: a -> Maybe a -> a
- fromJust :: Maybe a -> a
- isNothing :: Maybe a -> Bool
- isJust :: Maybe a -> Bool
- maybe :: b -> (a -> b) -> Maybe a -> b
- type String = [Char]
- data Builder
- toLazyByteString :: Builder -> ByteString
- stringUtf8 :: String -> Builder
- charUtf8 :: Char -> Builder
- string8 :: String -> Builder
- char8 :: Char -> Builder
- string7 :: String -> Builder
- char7 :: Char -> Builder
- doubleBE :: Double -> Builder
- floatBE :: Float -> Builder
- word64BE :: Word64 -> Builder
- word32BE :: Word32 -> Builder
- word16BE :: Word16 -> Builder
- int64BE :: Int64 -> Builder
- int32BE :: Int32 -> Builder
- int16BE :: Int16 -> Builder
- doubleLE :: Double -> Builder
- floatLE :: Float -> Builder
- word64LE :: Word64 -> Builder
- word32LE :: Word32 -> Builder
- word16LE :: Word16 -> Builder
- int64LE :: Int64 -> Builder
- int32LE :: Int32 -> Builder
- int16LE :: Int16 -> Builder
- word8 :: Word8 -> Builder
- int8 :: Int8 -> Builder
- hPutBuilder :: Handle -> Builder -> IO ()
- integerDec :: Integer -> Builder
- lazyByteStringHex :: ByteString -> Builder
- byteStringHex :: ByteString -> Builder
- doubleHexFixed :: Double -> Builder
- floatHexFixed :: Float -> Builder
- word64HexFixed :: Word64 -> Builder
- word32HexFixed :: Word32 -> Builder
- word16HexFixed :: Word16 -> Builder
- word8HexFixed :: Word8 -> Builder
- int64HexFixed :: Int64 -> Builder
- int32HexFixed :: Int32 -> Builder
- int16HexFixed :: Int16 -> Builder
- int8HexFixed :: Int8 -> Builder
- wordHex :: Word -> Builder
- word64Hex :: Word64 -> Builder
- word32Hex :: Word32 -> Builder
- word16Hex :: Word16 -> Builder
- word8Hex :: Word8 -> Builder
- doubleDec :: Double -> Builder
- floatDec :: Float -> Builder
- wordDec :: Word -> Builder
- word64Dec :: Word64 -> Builder
- word32Dec :: Word32 -> Builder
- word16Dec :: Word16 -> Builder
- word8Dec :: Word8 -> Builder
- intDec :: Int -> Builder
- int64Dec :: Int64 -> Builder
- int32Dec :: Int32 -> Builder
- int16Dec :: Int16 -> Builder
- int8Dec :: Int8 -> Builder
- lazyByteString :: ByteString -> Builder
- byteString :: ByteString -> Builder
- shortByteString :: ShortByteString -> Builder
- class Default a where
- def :: a
- mapNext :: (s -> r) -> FunctionBuilder m r a -> FunctionBuilder m s a
- mapAccumulator :: (m -> n) -> FunctionBuilder m a b -> FunctionBuilder n a b
- bind :: FunctionBuilder m g_next f_g_next -> (m -> FunctionBuilder n next g_next) -> FunctionBuilder n next f_g_next
- tagParameter :: FunctionBuilder m r (a -> b) -> FunctionBuilder m r (Tagged tag a -> b)
- fillParameter :: FunctionBuilder m r (a -> b) -> a -> FunctionBuilder m r b
- immediate :: m -> FunctionBuilder m r r
- deferred :: (a -> m) -> FunctionBuilder m r (a -> r)
- toFunction :: FunctionBuilder output output make_output -> make_output
- newtype FunctionBuilder acc next f_make_next = FB {
- runFunctionBuilder :: (acc -> next) -> f_make_next
- class HasFunctionBuilder m a where
- type ToFunction m a r :: Type
- toFunctionBuilder :: a -> FunctionBuilder m r (ToFunction m a r)
- class StaticContent m a where
- addStaticContent :: a -> FunctionBuilder m next next
- class DynamicContent m a parameter | m a -> parameter where
- addParameter :: a -> FunctionBuilder m next (parameter -> next)
- newtype Tagged (s :: k) b :: forall k. k -> Type -> Type = Tagged {
- unTagged :: b
- writeIndented :: String -> PTM ()
- showPretty :: PrettyTypeShow (ToPretty t) => proxy t -> String
- type family ToPretty (a :: k) :: PrettyType
- type family ToPrettyMaybe (t :: Maybe x) :: PrettyType where ...
- type PutStr (str :: Symbol) = PrettySymbol PrettyUnpadded PrettyPrecise str
- type PutStrW (width :: Nat) (str :: Symbol) = PrettySymbol (PrettyPadded width) (PrettyPrecision width) str
- type PutStrLn (str :: Symbol) = PutStr str <++> PutStr "\n"
- type PutNat (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyDec x
- type PutNatW (width :: Nat) (x :: Nat) = PrettyNat (PrettyPadded width) PrettyPrecise PrettyDec x
- type PutHex (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyHex x
- type PutHex8 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 2) PrettyHex x
- type PutHex16 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 4) PrettyHex x
- type PutHex32 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 8) PrettyHex x
- type PutHex64 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 16) PrettyHex x
- type PutHeX (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyHexU x
- type PutHeX8 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 2) PrettyHexU x
- type PutHeX16 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 4) PrettyHexU x
- type PutHeX32 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 8) PrettyHexU x
- type PutHeX64 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 16) PrettyHexU x
- type PutBits (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyBit x
- type PutBits8 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 8) PrettyBit x
- type PutBits16 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 16) PrettyBit x
- type PutBits32 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 32) PrettyBit x
- type PutBits64 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 64) PrettyBit x
- type (<:>) (label :: Symbol) (body :: PrettyType) = PrettySuffix (PutStr ":") (PutStr label) <+> body
- type (<:$$>) (label :: Symbol) (body :: PrettyType) = PrettySuffix (PutStr ":") (PutStr label) <$$> body
- type (<:$$-->) (label :: Symbol) (body :: PrettyType) = PrettySuffix (PutStr ":") (PutStr label) <$$--> body
- type (<++>) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettyEmpty l r
- type (<+>) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettySpace l r
- type (<||>) (l :: PrettyType) (r :: PrettyType) = PrettyAlternative l r
- type (<$$>) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettyNewline l r
- type (<$$-->) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettyNewline l (PrettyIndent 2 r)
- type PrettyParens (doc :: PrettyType) = PrettySurrounded (PutStr "(") (PutStr ")") doc
- type PrettySurrounded (open :: PrettyType) (close :: PrettyType) (doc :: PrettyType) = (open <++> doc) <++> close
- type PrettyWide (docs :: [PrettyType]) = PrettyMany PrettySpace docs
- type PrettyHigh (docs :: [PrettyType]) = PrettyMany PrettyNewline docs
- type PrettyManyIn (sep :: PrettyType) (docs :: [PrettyType]) = PrettySurrounded sep sep (PrettyMany sep docs)
- type family PrettyMany (sep :: PrettyType) (docs :: [PrettyType]) :: PrettyType where ...
- type family PrettyOften (n :: Nat) (doc :: PrettyType) :: PrettyType where ...
- data PrettyType
- = PrettyEmpty
- | PrettySpace
- | PrettyNewline
- | PrettySymbol PrettyPadded PrettyPrecision Symbol
- | PrettyNat PrettyPadded PrettyPrecision PrettyNatFormat Nat
- | PrettyPrefix PrettyType PrettyType
- | PrettyInfix PrettyType PrettyType PrettyType
- | PrettySuffix PrettyType PrettyType
- | PrettyIndent Nat PrettyType
- | PrettyAlternative PrettyType PrettyType
- data PrettyPadded
- data PrettyPrecision
- data PrettyNatFormat
- type Prettifies t = Prettifier t -> Type
- data Prettifier a
- type family PrettifyWith (f :: Prettifies k) (x :: k) :: PrettyType
- data PrettyTitled (title :: PrettyType) (indentation :: Nat) (a :: Prettifier t) :: forall t. PrettyType -> Nat -> Prettifier t -> Type
- class PrettyTypeShow (p :: PrettyType) where
- ptShow :: proxy p -> PTM ()
- ptHasContent :: proxy p -> PTM Bool
- type PTM a = RWS Indentation String PTRenderState a
- type Indentation = Int
- data PTRenderState
- class PrintfArgModifier (a :: k) where
- toPrintfArgModifier :: p a -> String
- reproxy :: proxy a -> Proxy b
- tagWith :: proxy s -> a -> Tagged s a
- unproxy :: (Proxy s -> a) -> Tagged s a
- proxy :: Tagged s a -> proxy s -> a
- untagSelf :: Tagged a a -> a
- witness :: Tagged a b -> a -> b
- asTaggedTypeOf :: s -> tagged s b -> s
- tagSelf :: a -> Tagged a a
- untag :: Tagged s b -> b
- retag :: Tagged s b -> Tagged t b
- type (--*) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr
- type (###) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (######) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#########) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (############) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (###############) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (##################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#####################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (########################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (###########################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (##############################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (####################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#######################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (##########################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#############################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (###################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (######################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#########################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (############################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (###############################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (##################################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (#####################################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (########################################################################) (title :: Symbol) (expr :: expectation) = Explain title expr
- type (-*-) (expectation1 :: k) (expectation2 :: k1) = expectation1 -/- expectation2
- type (-*) (expectation1 :: k) (expectation2 :: k1) = expectation1 -/- expectation2
- type Expect = (TypeSpec :: k -> Type)
- type Explain (does :: Symbol) (this :: expectation) = TypeSpec (It does this)
- type Is = (ShouldBe :: actual -> expected -> Type)
- type IsTheSameAs = (ShouldBe :: actual -> expected -> Type)
- type TheseAreEqual = (ShouldBe :: actual -> expected -> Type)
- type IsNot = (ShouldNotBe :: actual -> expected -> Type)
- type Isn't = (ShouldNotBe :: actual -> expected -> Type)
- type IsNotTheSameAs = (ShouldNotBe :: actual -> expected -> Type)
- type IsDifferentFrom = (ShouldNotBe :: actual -> expected -> Type)
- type TheseAreNotEqual = (ShouldNotBe :: actual -> expected -> Type)
- type IsTrue = (ShouldBeTrue :: expectation -> Type)
- type And = (ShouldBeTrue :: expectation -> Type)
- type Therefore = (ShouldBeTrue :: expectation -> Type)
- type That = (ShouldBeTrue :: expectation -> Type)
- type IsFalse = (ShouldBeFalse :: expectation -> Type)
- type They (message :: Symbol) (expectations :: expectation) = It message expectations
- type Describe = (It :: Symbol -> expectation -> Type)
- type Context = (It :: Symbol -> expectation -> Type)
- type It's = (It :: Symbol -> expectation -> Type)
- data ShouldBeTrue (a :: expectation) :: forall expectation. expectation -> Type
- data ShouldBeFalse (a :: expectation) :: forall expectation. expectation -> Type
- data ButNot (a :: shouldBe) (b :: shouldntBe) :: forall shouldBe shouldntBe. shouldBe -> shouldntBe -> Type
- data ShouldBe (a :: actual) (b :: expected) :: forall actual expected. actual -> expected -> Type
- data ShouldNotBe (a :: actual) (b :: expected) :: forall actual expected. actual -> expected -> Type
- data It (a :: Symbol) (b :: expectation) :: forall expectation. Symbol -> expectation -> Type
- data (expectation1 :: k) -/- (expectation2 :: k1) :: forall k k1. k -> k1 -> Type
- prettyIndentation :: Int
- data TypeSpec (expectation :: k) :: forall k. k -> Type where
- Valid :: forall k (expectation :: k). Try (EvalExpectation expectation) ~ expectation => TypeSpec expectation
- Invalid :: forall k (expectation :: k). DontTry (EvalExpectation expectation) => TypeSpec expectation
- type family EvalExpectation (expectation :: k) :: Result k
- class PrettyTypeSpec (t :: k) where
- prettyTypeSpec :: proxy t -> Doc
- type Result = Either ErrorMessage
- type OK = (Right :: b -> Either a b)
- type FAILED = (Left :: a -> Either a b)
- type family Try (e :: Result k) :: k where ...
- type family DontTry (e :: Result r) :: Constraint where ...
- type family PrependToError (message :: ErrorMessage) (result :: Result a) :: Result a where ...
- type family IsSequence (bs :: [k]) (rs :: [j]) :: Bool where ...
- data SomeMandatoryX t
- data SomeOptionalX t
- data OnceOptionalX t
- type family ToSymbol t :: Symbol
- data MatchSymbol :: Symbol -> Type
- data OneOf :: [Type] -> Type
- data TopLevel :: Type -> Type
- type family IsRuleConform (b :: k) (r :: l) :: Bool
- data Fun4 :: (a -> b -> c -> d -> Extends e) -> Extends (a -> Extends (b -> Extends (c -> Extends (d -> Extends e))))
- data Fun3 :: (a -> b -> c -> Extends d) -> Extends (a -> Extends (b -> Extends (c -> Extends d)))
- data Fun2 :: (a -> b -> Extends c) -> Extends (a -> Extends (b -> Extends c))
- data Fun1 :: (a -> Extends b) -> Extends (a -> Extends b)
- type family FoldMap (append :: Extends (b -> Extends (b -> b))) (zero :: b) (f :: Extends (a -> b)) (xs :: [(a :: Type)]) :: (b :: Type) where ...
- data Optional :: Extends t -> Extends (s -> Extends t) -> Extends (Maybe s -> Extends t)
- data (:>>=:) :: Extends a -> Extends (a -> Extends b) -> Extends b
- data Extract :: Extends (Extends x -> x)
- data (:>>>^:) :: Extends (good -> better) -> Extends (better -> best) -> Extends (good -> Extends best)
- data (:^>>>:) :: Extends (good -> better) -> Extends (better -> best) -> Extends (Extends good -> best)
- data (:>>>:) :: Extends (good -> better) -> Extends (better -> best) -> Extends (good -> best)
- type ($) f x = Apply f x
- type family Apply (f :: Extends (a -> b)) (x :: a) :: b
- data Labelled (s :: Symbol) :: Extends a -> Extends a
- data Anonymous (x :: Extends (Named s)) :: Extends s
- type (:#) (name :: Symbol) (x :: Extends s) = Name name x
- data Name :: Symbol -> Extends s -> Extends (Named s)
- data Named s
- type Konst (a :: k) = ((:~:) a :: Extends k)
- type family From (t :: a -> Type) :: a
- type Extends a = (a -> Type :: Type)
- type family ShiftR (xMaxBits :: Nat) (x :: Nat) (bits :: Nat) :: Nat where ...
- type family GetMostSignificantBitIndex (highestBit :: Nat) (n :: Nat) :: Nat where ...
- type family ShiftBitsR (bits :: [Bool]) (n :: Nat) :: [Bool] where ...
- type family FromBits_ (bits :: [Bool]) (acc :: Nat) :: Nat where ...
- type FromBits bits = FromBits_ bits 0
- type family ToBitsInner (highBitSet :: Bool) (x :: Nat) (n :: Nat) (started :: Bool) :: [Bool] where ...
- type family ToBits_ (x :: Nat) (n :: Nat) (started :: Bool) :: [Bool] where ...
- type ToBits x n = ToBits_ x n False
- type family TestHighBit (x :: Nat) (n :: Nat) :: Bool where ...
- type ModPow2Bits = 32
- type family TakeLastNImplTakeNRev (n :: Nat) (rs :: [t]) (acc :: [t]) :: [t] where ...
- type family TakeLastNImplRev (n :: Nat) (xs :: [t]) (acc :: [t]) :: [t] where ...
- type TakeLastN n xs = TakeLastNImplRev n xs '[]
- type ModPow2 value power = FromBits (TakeLastN power (ToBits value ModPow2Bits))
- type family CountElementsForLengthIn (xs :: k) :: Nat
- data LengthIn :: Nat -> Nat -> Assertion a
- data NatIn :: Nat -> Nat -> Assertion Nat
- data NatLE :: Nat -> Assertion Nat
- data NatGE :: Nat -> Assertion Nat
- data (@&&) :: Assertion a -> Assertion a -> Assertion a
- type family Check (f :: Assertion a) (x :: a) :: Maybe ErrorMessage
- type Assertion a = TyFun a (Maybe ErrorMessage) -> Type
- type family Assert (cond :: Assertion a) (x :: a) :: a where ...
- type (?::) x cond = Assert cond x
- type family KnownChunkSize (s :: Nat) :: Constraint where ...
- data BitBuffer64
- type BitBuffer64MaxLength = 64
- bitBuffer64MaxLength :: Int
- bitBuffer64MaxLengthBytes :: Word64
- bitBuffer64Content :: BitBuffer64 -> Word64
- bitBuffer64Length :: BitBuffer64 -> Int
- isBitBuffer64Empty :: BitBuffer64 -> Bool
- bitBuffer64SpaceLeft :: BitBuffer64 -> Int
- bitBuffer64 :: Int -> Word64 -> BitBuffer64
- emptyBitBuffer64 :: BitBuffer64
- bitBuffer64ProxyLength :: KnownChunkSize n => Proxy n -> Word64 -> BitBuffer64
- bufferBits :: BitBuffer64 -> BitBuffer64 -> (BitBuffer64, BitBuffer64)
- type family PrintHexIfPossible t (s :: Nat) :: PrettyType where ...
- type family PrettyCustomFieldValue (rt :: Type) (st :: Type) (size :: Nat) (v :: st) :: PrettyType
- type family PrettyFieldValue (t :: BitField (rt :: Type) (st :: Type) (size :: Nat)) (v :: st) :: PrettyType where ...
- type family PrettyFieldType (t :: BitField (rt :: Type) (st :: Type) (size :: Nat)) :: PrettyType where ...
- type family PrettyField (f :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: Type) (size :: Nat)))) :: PrettyType where ...
- type family PrettyRecordField (f :: Extends (BitField (rt :: Type) (st :: Type) (size :: Nat))) :: PrettyType where ...
- type family PrettyRecord (rec :: BitRecord) :: PrettyType where ...
- type family FieldWidth (x :: Extends (BitRecordField t)) where ...
- data RecordField :: Extends (BitRecordField t) -> Extends BitRecord
- data MaybeField :: Maybe (Extends (BitRecordField t)) -> Extends BitRecord
- type family FlagNothing (a :: Maybe (v :: Type)) :: Extends (BitRecordField MkFieldFlag) where ...
- type family FlagJust (a :: Maybe (v :: Type)) :: Extends (BitRecordField MkFieldFlag) where ...
- data SignedNat where
- PositiveNat :: Nat -> SignedNat
- NegativeNat :: Nat -> SignedNat
- newtype B (size :: Nat) = B {}
- type FieldI64 = MkField MkFieldI64
- type FieldI32 = MkField MkFieldI32
- type FieldI16 = MkField MkFieldI16
- type FieldI8 = MkField MkFieldI8
- type FieldU64 = MkField MkFieldU64
- type FieldU32 = Konst MkFieldU32
- type FieldU16 = MkField MkFieldU16
- type FieldU8 = MkField MkFieldU8
- type Field n = MkField (MkFieldBits :: BitField (B n) Nat n)
- type Flag = MkField MkFieldFlag
- type family BitFieldSize (b :: BitField rt st size) :: Nat where ...
- data BitField (runtimeRep :: Type) (staticRep :: k) (bitCount :: Nat) where
- MkFieldFlag :: BitField Bool Bool 1
- MkFieldBits :: forall (n :: Nat). BitField (B n) Nat n
- MkFieldBitsXXL :: forall (n :: Nat). BitField Integer Nat n
- MkFieldU8 :: BitField Word8 Nat 8
- MkFieldU16 :: BitField Word16 Nat 16
- MkFieldU32 :: BitField Word32 Nat 32
- MkFieldU64 :: BitField Word64 Nat 64
- MkFieldI8 :: BitField Int8 SignedNat 8
- MkFieldI16 :: BitField Int16 SignedNat 16
- MkFieldI32 :: BitField Int32 SignedNat 32
- MkFieldI64 :: BitField Int64 SignedNat 64
- MkFieldCustom :: BitField rt st n
- data (:=.) :: Extends (BitField rt st size) -> st -> Extends (BitField rt st size)
- data (:=) :: forall st (t :: BitField rt st size). Extends (BitRecordField t) -> st -> Extends (BitRecordField t)
- type (@::) (l :: Symbol) (f :: Extends a) = Labelled l f
- type (@:) (l :: Symbol) (f :: Extends (BitRecordField (t :: BitField rt (st :: stk) size))) = (LabelF l f :: Extends (BitRecordField t))
- data LabelF :: Symbol -> Extends (BitRecordField t) -> Extends (BitRecordField t)
- data MkField t :: BitRecordField t -> Type
- data BitRecordField :: BitField rt st len -> Type
- data OptionalRecord :: Maybe BitRecord -> Extends BitRecord
- data BitRecordAppendFun_ :: BitRecord -> Extends (BitRecord -> BitRecord)
- type BitRecordAppendFun = Fun1 BitRecordAppendFun_
- data BitRecordOfList (f :: Extends (foo -> BitRecord)) (xs :: [foo]) :: Extends BitRecord
- type family RecArrayToBitRecord (r :: BitRecord) (n :: Nat) :: BitRecord where ...
- type (^^) r n = RecArray r n
- data RecArray :: BitRecord -> Nat -> Extends BitRecord
- data RuntimeFieldValue (label :: Symbol) :: Extends (FieldValue label staticRep)
- data StaticFieldValue (label :: Symbol) :: staticRep -> Extends (FieldValue label staticRep)
- data FieldValue :: Symbol -> staticRep -> Type
- type family (fld :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: k) (len :: Nat)))) :+? (value :: Maybe (Extends (FieldValue (label :: Symbol) st))) :: BitRecord where ...
- type family (fld :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: k) (len :: Nat)))) :~? (value :: Maybe (Extends (FieldValue (label :: Symbol) st))) :: Extends BitRecord where ...
- type family (field :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: k) (len :: Nat)))) :~ (value :: Extends (FieldValue (label :: Symbol) st)) :: Extends (BitRecordField t) where ...
- type (.+.) (l :: Extends (BitRecordField t1)) (r :: Extends (BitRecordField t2)) = Append (BitRecordMember l) (BitRecordMember r)
- type (.+:) (f :: Extends (BitRecordField t1)) (r :: BitRecord) = Append (BitRecordMember f) r
- type (:+.) (r :: BitRecord) (f :: Extends (BitRecordField t1)) = Append r (BitRecordMember f)
- type family Append (l :: BitRecord) (r :: BitRecord) :: BitRecord where ...
- type (:+:) (l :: BitRecord) (r :: BitRecord) = (l `Append` r :: BitRecord)
- data (l :: Extends BitRecord) :^+ (r :: BitRecord) :: Extends BitRecord
- data (l :: BitRecord) :+^ (r :: Extends BitRecord) :: Extends BitRecord
- type OptionalRecordOf (f :: Extends (s -> Extends BitRecord)) (x :: Maybe s) = (Optional (Konst EmptyBitRecord) f $ x :: Extends BitRecord)
- type family BitRecordMemberCount (b :: BitRecord) :: Nat where ...
- type family Bits2Bytes2 (bitSizeDiv8 :: Nat) (bitSizeMod8 :: Nat) :: Nat where ...
- type Bits2Bytes (bitSize :: Nat) = Bits2Bytes2 (Div bitSize 8) (Mod bitSize 8)
- type family SizeInBytes (c :: k) :: Nat
- type family SizeInBits (x :: k) :: Nat where ...
- type family WhenR (b :: Bool) (x :: BitRecord) :: BitRecord where ...
- data BitRecord where
- EmptyBitRecord :: BitRecord
- BitRecordMember :: Extends (BitRecordField t) -> BitRecord
- RecordField :: Extends (BitField rt st size) -> BitRecord
- BitRecordAppend :: BitRecord -> BitRecord -> BitRecord
- getRecordSizeFromProxy :: forall px (rec :: BitRecord). KnownNat (SizeInBits rec) => px rec -> Integer
- showARecord :: forall proxy (rec :: Extends BitRecord). PrettyTypeShow (PrettyRecord (From rec)) => proxy rec -> String
- showRecord :: forall proxy (rec :: BitRecord). PrettyTypeShow (PrettyRecord rec) => proxy rec -> String
- type family UnsignedDemoteRep i where ...
- data BitBuilderState where
- BitBuilderState :: !Builder -> !BitBuffer64 -> !Word64 -> BitBuilderState
- newtype BitBuilder = BitBuilder {}
- data BuilderWithSize where
- MkBuilderWithSize :: !Word64 -> !Builder -> BuilderWithSize
- bitBuilderWithSize :: forall (record :: BitRecord). HasFunctionBuilder BitBuilder (Proxy record) => Proxy record -> ToFunction BitBuilder (Proxy record) BuilderWithSize
- wrapBitBuilderWithSize :: forall (record :: BitRecord) wrapped. HasFunctionBuilder BitBuilder (Proxy record) => (BuilderWithSize -> wrapped) -> Proxy record -> ToFunction BitBuilder (Proxy record) wrapped
- builderBoxConstructor :: forall (record :: BitRecord) r. HasFunctionBuilder BitBuilder (Proxy record) => Proxy record -> FunctionBuilder BuilderWithSize r (ToFunction BitBuilder (Proxy record) r)
- runBitBuilder :: BitBuilder -> Builder
- bitBuffer64Builder :: (BitBuilderState -> BitBuilderState) -> BitBuilder
- appBitBuilder :: BitBuilder -> BitBuilderState -> BitBuilderState
- getBitBuilderStateBuilder :: BitBuilderState -> Builder
- initialBitBuilderState :: BitBuilderState
- flushBitBuilder :: BitBuilderState -> BitBuilderState
- appendBitBuffer64 :: BitBuffer64 -> BitBuilder
- appendStrictByteString :: ByteString -> BitBuilder
- runBitBuilderHoley :: FunctionBuilder BitBuilder Builder a -> a
- printBuilder :: Builder -> String
- bitBuffer64Printer :: HasFunctionBuilder BitBuilder a => a -> ToFunction BitBuilder a String
- data EnumValue e where
- MkEnumValue :: KnownNat (FromEnum e v) => Proxy (v :: e) -> EnumValue e
- type family FromEnum enum (entry :: enum) :: Nat
- data EnumParamAlt (label :: Symbol) (ef :: Extends (EnumField (enum :: Type) (size :: Nat))) :: Extends (EnumOf enum)
- data SetEnumAlt (l :: Symbol) (ef :: Extends (EnumField (enum :: Type) (size :: Nat))) (v :: k) :: Extends (EnumOf enum)
- data EnumParam (label :: Symbol) (ef :: Extends (EnumField (enum :: Type) (size :: Nat))) :: Extends (EnumOf enum)
- data SetEnum (l :: Symbol) (ef :: Extends (EnumField enum size)) (v :: enum) :: Extends (EnumOf enum)
- data ExtEnum (enum :: Type) (size :: Nat) (extInd :: enum) (extField :: Extends (BitRecordField (t :: BitField rt0 (st0 :: k0) len0))) :: Extends (EnumField enum size)
- data FixedEnum (enum :: Type) (size :: Nat) :: Extends (EnumField enum size)
- type BitRecordFieldOfEnumField (x :: Extends (EnumField e s)) = MkField (MkFieldCustom :: BitField (EnumValue e) e s)
- data EnumField (enum :: Type) (size :: Nat)
- type family RenderEnumOf (e :: EnumOf enum) :: BitRecord where ...
- type BitRecordOfEnum (e :: Extends (EnumOf enum)) = (RenderEnumOf (From e) :: BitRecord)
- data EnumOf enum where
- enumValueProxy :: KnownNat (FromEnum e v) => Proxy (v :: e) -> EnumValue e
- fromEnumValue :: EnumValue e -> Word64
- type SizedField64 t = SizedField FieldU64 t
- type SizedField32 t = Sized32 (Konst (RecordField t))
- type SizedField16 t = SizedField FieldU16 t
- type SizedField8 t = SizedField FieldU8 t
- data SizedField (sf :: Extends (BitRecordField (t :: BitField (rt :: Type) Nat (size :: Nat)))) (r :: Extends (BitRecordField (u :: BitField (rt' :: Type) (st' :: k0) (len0 :: Nat)))) :: Extends BitRecord
- type Sized64 t = Sized FieldU64 t
- type Sized32 t = Sized2 FieldU32 t
- type Sized16 t = Sized FieldU16 t
- type Sized8 t = Sized FieldU8 t
- data Sized (sf :: Extends (BitRecordField (t :: BitField (rt :: Type) Nat (size :: Nat)))) (r :: BitRecord) :: Extends BitRecord
- data ASizedString
- type SizedString2 str bytes = Konst (MkFieldCustom :: BitField ASizedString ASizedString (8 * bytes)) :=. MkASizedString str bytes
- type SizedString str bytes = MkField (MkFieldCustom :: BitField ASizedString ASizedString (8 * bytes)) := MkASizedString str bytes
- utf8 :: QuasiQuoter
- utf82 :: QuasiQuoter
Documentation
The trace function outputs the trace message given as its first argument,
before returning the second argument as its result.
For example, this returns the value of f x but first outputs the message.
>>>let x = 123; f = show>>>trace ("calling f with x = " ++ show x) (f x)"calling f with x = 123 123"
The trace function should only be used for debugging, or for monitoring
execution. The function is not referentially transparent: its type indicates
that it is a pure function but it has the side effect of outputting the
trace message.
Class for string-like datastructures; used by the overloaded string extension (-XOverloadedStrings in GHC).
Methods
fromString :: String -> a #
Instances
This class gives the integer associated with a type-level natural. There are instances of the class for every concrete literal: 0, 1, 2, etc.
Since: base-4.7.0.0
Minimal complete definition
natSing
class KnownSymbol (n :: Symbol) #
This class gives the string associated with a type-level symbol. There are instances of the class for every concrete literal: "hello", etc.
Since: base-4.7.0.0
Minimal complete definition
symbolSing
class Semigroup a => Monoid a where #
The class of monoids (types with an associative binary operation that has an identity). Instances should satisfy the following laws:
x
<>mempty= xmempty<>x = xx(<>(y<>z) = (x<>y)<>zSemigrouplaw)mconcat=foldr'(<>)'mempty
The method names refer to the monoid of lists under concatenation, but there are many other instances.
Some types can be viewed as a monoid in more than one way,
e.g. both addition and multiplication on numbers.
In such cases we often define newtypes and make those instances
of Monoid, e.g. Sum and Product.
NOTE: Semigroup is a superclass of Monoid since base-4.11.0.0.
Minimal complete definition
Methods
Identity of mappend
An associative operation
NOTE: This method is redundant and has the default
implementation since base-4.11.0.0.mappend = '(<>)'
Fold a list using the monoid.
For most types, the default definition for mconcat will be
used, but the function is included in the class definition so
that an optimized version can be provided for specific types.
Instances
A fixed-precision integer type with at least the range [-2^29 .. 2^29-1].
The exact range for a given implementation can be determined by using
minBound and maxBound from the Bounded class.
Instances
8-bit signed integer type
Instances
16-bit signed integer type
Instances
32-bit signed integer type
Instances
64-bit signed integer type
Instances
The Maybe type encapsulates an optional value. A value of type
either contains a value of type Maybe aa (represented as ),
or it is empty (represented as Just aNothing). Using Maybe is a good way to
deal with errors or exceptional cases without resorting to drastic
measures such as error.
The Maybe type is also a monad. It is a simple kind of error
monad, where all errors are represented by Nothing. A richer
error monad can be built using the Either type.
Instances
| Monad Maybe | Since: base-2.1 |
| Functor Maybe | Since: base-2.1 |
| Applicative Maybe | Since: base-2.1 |
| Foldable Maybe | Since: base-2.1 |
Defined in Data.Foldable Methods fold :: Monoid m => Maybe m -> m # foldMap :: Monoid m => (a -> m) -> Maybe a -> m # foldr :: (a -> b -> b) -> b -> Maybe a -> b # foldr' :: (a -> b -> b) -> b -> Maybe a -> b # foldl :: (b -> a -> b) -> b -> Maybe a -> b # foldl' :: (b -> a -> b) -> b -> Maybe a -> b # foldr1 :: (a -> a -> a) -> Maybe a -> a # foldl1 :: (a -> a -> a) -> Maybe a -> a # elem :: Eq a => a -> Maybe a -> Bool # maximum :: Ord a => Maybe a -> a # minimum :: Ord a => Maybe a -> a # | |
| Traversable Maybe | Since: base-2.1 |
| Eq1 Maybe | Since: base-4.9.0.0 |
| Ord1 Maybe | Since: base-4.9.0.0 |
Defined in Data.Functor.Classes | |
| Read1 Maybe | Since: base-4.9.0.0 |
Defined in Data.Functor.Classes | |
| Show1 Maybe | Since: base-4.9.0.0 |
| Alternative Maybe | Since: base-2.1 |
| MonadPlus Maybe | Since: base-2.1 |
| PTraversable Maybe | |
| STraversable Maybe | |
Defined in Data.Singletons.Prelude.Traversable Methods sTraverse :: SApplicative f => Sing t1 -> Sing t2 -> Sing (Apply (Apply TraverseSym0 t1) t2) # sSequenceA :: SApplicative f => Sing t1 -> Sing (Apply SequenceASym0 t1) # sMapM :: SMonad m => Sing t1 -> Sing t2 -> Sing (Apply (Apply MapMSym0 t1) t2) # sSequence :: SMonad m => Sing t1 -> Sing (Apply SequenceSym0 t1) # | |
| PFoldable Maybe | |
| SFoldable Maybe | |
Defined in Data.Singletons.Prelude.Foldable Methods sFold :: SMonoid m => Sing t1 -> Sing (Apply FoldSym0 t1) # sFoldMap :: SMonoid m => Sing t1 -> Sing t2 -> Sing (Apply (Apply FoldMapSym0 t1) t2) # sFoldr :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldrSym0 t1) t2) t3) # sFoldr' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldr'Sym0 t1) t2) t3) # sFoldl :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldlSym0 t1) t2) t3) # sFoldl' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldl'Sym0 t1) t2) t3) # sFoldr1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldr1Sym0 t1) t2) # sFoldl1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldl1Sym0 t1) t2) # sToList :: Sing t1 -> Sing (Apply ToListSym0 t1) # sNull :: Sing t1 -> Sing (Apply NullSym0 t1) # sLength :: Sing t1 -> Sing (Apply LengthSym0 t1) # sElem :: SEq a => Sing t1 -> Sing t2 -> Sing (Apply (Apply ElemSym0 t1) t2) # sMaximum :: SOrd a => Sing t1 -> Sing (Apply MaximumSym0 t1) # sMinimum :: SOrd a => Sing t1 -> Sing (Apply MinimumSym0 t1) # sSum :: SNum a => Sing t1 -> Sing (Apply SumSym0 t1) # sProduct :: SNum a => Sing t1 -> Sing (Apply ProductSym0 t1) # | |
| PFunctor Maybe | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| PApplicative Maybe | |
| PMonad Maybe | |
| PAlternative Maybe | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| PMonadPlus Maybe | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| SFunctor Maybe | |
| SApplicative Maybe | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods sPure :: Sing t -> Sing (Apply PureSym0 t) # (%<*>) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (<*>@#@$) t1) t2) # sLiftA2 :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply LiftA2Sym0 t1) t2) t3) # (%*>) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (*>@#@$) t1) t2) # (%<*) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (<*@#@$) t1) t2) # | |
| SMonad Maybe | |
| SAlternative Maybe | |
| SMonadPlus Maybe | |
| Eq a => Eq (Maybe a) | Since: base-2.1 |
| Ord a => Ord (Maybe a) | Since: base-2.1 |
| Read a => Read (Maybe a) | Since: base-2.1 |
| Show a => Show (Maybe a) | Since: base-2.1 |
| Generic (Maybe a) | |
| Semigroup a => Semigroup (Maybe a) | Since: base-4.9.0.0 |
| Semigroup a => Monoid (Maybe a) | Lift a semigroup into Since 4.11.0: constraint on inner Since: base-2.1 |
| Lift a => Lift (Maybe a) | |
| SingKind a => SingKind (Maybe a) | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
| Default (Maybe a) | |
Defined in Data.Default.Class | |
| PMonoid (Maybe a) | |
| SSemigroup a => SMonoid (Maybe a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| PShow (Maybe a) | |
| SShow a => SShow (Maybe a) | |
| PSemigroup (Maybe a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SSemigroup a => SSemigroup (Maybe a) | |
| POrd (Maybe a) | |
| SOrd a => SOrd (Maybe a) | |
Defined in Data.Singletons.Prelude.Ord Methods sCompare :: Sing t1 -> Sing t2 -> Sing (Apply (Apply CompareSym0 t1) t2) # (%<) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (<@#@$) t1) t2) # (%<=) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (<=@#@$) t1) t2) # (%>) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (>@#@$) t1) t2) # (%>=) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (>=@#@$) t1) t2) # sMax :: Sing t1 -> Sing t2 -> Sing (Apply (Apply MaxSym0 t1) t2) # sMin :: Sing t1 -> Sing t2 -> Sing (Apply (Apply MinSym0 t1) t2) # | |
| SEq a => SEq (Maybe a) | |
| PEq (Maybe a) | |
| IsBoxContent a => IsBoxContent (Maybe a) Source # | This instance writes zero bytes for |
| Generic1 Maybe | |
| SingI (Nothing :: Maybe a) | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
| LiteralFamily s k => LiteralFamily (Maybe s :: Type) (Maybe k) Source # | |
| SingI a2 => SingI (Just a2 :: Maybe a1) | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
| SuppressUnusedWarnings (CatMaybesSym0 :: TyFun [Maybe a6989586621679494730] [a6989586621679494730] -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ListToMaybeSym0 :: TyFun [a6989586621679494731] (Maybe a6989586621679494731) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (StripPrefixSym0 :: TyFun [a6989586621680065507] ([a6989586621680065507] ~> Maybe [a6989586621680065507]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607718Sym0 :: TyFun (Maybe a6989586621679544343) (Maybe a6989586621679544343 ~> Maybe a6989586621679544343) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (MaybeToListSym0 :: TyFun (Maybe a6989586621679494732) [a6989586621679494732] -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (IsNothingSym0 :: TyFun (Maybe a6989586621679494735) Bool -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (IsJustSym0 :: TyFun (Maybe a6989586621679494736) Bool -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromJustSym0 :: TyFun (Maybe a6989586621679494734) a6989586621679494734 -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (MinInternalSym0 :: TyFun (Maybe a6989586621680441338) (MinInternal a6989586621680441338) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (MaxInternalSym0 :: TyFun (Maybe a6989586621680440659) (MaxInternal a6989586621680440659) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679390452Sym0 :: TyFun (Maybe a3530822107858468865) (Maybe a3530822107858468865 ~> Ordering) -> Type) | |
Defined in Data.Singletons.Prelude.Ord Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (OptionSym0 :: TyFun (Maybe a6989586621679050999) (Option a6989586621679050999) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (LastSym0 :: TyFun (Maybe a6989586621679072619) (Last a6989586621679072619) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FirstSym0 :: TyFun (Maybe a6989586621679072624) (First a6989586621679072624) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280443Sym0 :: TyFun Nat (Maybe a3530822107858468865 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fail_6989586621679607625Sym0 :: TyFun Symbol (Maybe a6989586621679544294) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Pure_6989586621679607418Sym0 :: TyFun a6989586621679544265 (Maybe a6989586621679544265) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679607714LSym0 :: TyFun k1 (Maybe k1) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromMaybeSym0 :: TyFun a6989586621679494733 (Maybe a6989586621679494733 ~> a6989586621679494733) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ElemIndexSym0 :: TyFun a6989586621679939291 ([a6989586621679939291] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (JustSym0 :: TyFun a3530822107858468865 (Maybe a3530822107858468865) -> Type) | |
Defined in Data.Singletons.Prelude.Instances Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetOptionSym0 :: TyFun (Option a6989586621679050999) (Maybe a6989586621679050999) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a6989586621679072624) (Maybe a6989586621679072624) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a6989586621679072619) (Maybe a6989586621679072619) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindSym0 :: TyFun (a6989586621679939292 ~> Bool) ([a6989586621679939292] ~> Maybe a6989586621679939292) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindIndexSym0 :: TyFun (a6989586621679939289 ~> Bool) ([a6989586621679939289] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SingI (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing CatMaybesSym0 # | |
| SingI (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing ListToMaybeSym0 # | |
| SingI (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing MaybeToListSym0 # | |
| SingI (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing IsNothingSym0 # | |
| SingI (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing IsJustSym0 # | |
| SingI (FromJustSym0 :: TyFun (Maybe a) a -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing FromJustSym0 # | |
| SingI (OptionSym0 :: TyFun (Maybe a) (Option a) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods sing :: Sing OptionSym0 # | |
| SingI (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid | |
| SingI (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid | |
| SingI (FromMaybeSym0 :: TyFun a (Maybe a ~> a) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing FromMaybeSym0 # | |
| SEq a => SingI (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing ElemIndexSym0 # | |
| SingI (JustSym0 :: TyFun a (Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.Instances | |
| SingI (FindSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SingI (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing FindIndexSym0 # | |
| SuppressUnusedWarnings (StripPrefixSym1 a6989586621680078217 :: TyFun [a6989586621680065507] (Maybe [a6989586621680065507]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindSym1 a6989586621679948849 :: TyFun [a6989586621679939292] (Maybe a6989586621679939292) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindIndexSym1 a6989586621679949209 :: TyFun [a6989586621679939289] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ElemIndexSym1 a6989586621679949217 :: TyFun [a6989586621679939291] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280443Sym1 a6989586621680280440 a3530822107858468865 :: TyFun (Maybe a3530822107858468865) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607718Sym1 a6989586621679607716 :: TyFun (Maybe a6989586621679544343) (Maybe a6989586621679544343) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607618Sym0 :: TyFun (Maybe a6989586621679544291) (Maybe b6989586621679544292 ~> Maybe b6989586621679544292) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607602Sym0 :: TyFun (Maybe a6989586621679544289) ((a6989586621679544289 ~> Maybe b6989586621679544290) ~> Maybe b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607460Sym0 :: TyFun (Maybe a6989586621679544271) (Maybe b6989586621679544272 ~> Maybe b6989586621679544272) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromMaybeSym1 a6989586621679494925 :: TyFun (Maybe a6989586621679494733) a6989586621679494733 -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679390452Sym1 a6989586621679390450 :: TyFun (Maybe a3530822107858468865) Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Ord Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607430Sym0 :: TyFun (Maybe (a6989586621679544266 ~> b6989586621679544267)) (Maybe a6989586621679544266 ~> Maybe b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607289Sym0 :: TyFun a6989586621679544262 (Maybe b6989586621679544263 ~> Maybe a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Maybe_Sym0 :: TyFun b6989586621679493306 ((a6989586621679493307 ~> b6989586621679493306) ~> (Maybe a6989586621679493307 ~> b6989586621679493306)) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (LookupSym0 :: TyFun a6989586621679939270 ([(a6989586621679939270, b6989586621679939271)] ~> Maybe b6989586621679939271) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442136NSym0 :: TyFun k (TyFun k1 (Maybe k1) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442136MSym0 :: TyFun k1 (TyFun k (Maybe k1) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442109NSym0 :: TyFun k (TyFun k1 (Maybe k1) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442109MSym0 :: TyFun k1 (TyFun k (Maybe k1) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679607269Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Maybe a6989586621679544260 ~> Maybe b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (MapMaybeSym0 :: TyFun (a6989586621679494728 ~> Maybe b6989586621679494729) ([a6989586621679494728] ~> [b6989586621679494729]) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (UnfoldrSym0 :: TyFun (b6989586621679939348 ~> Maybe (a6989586621679939349, b6989586621679939348)) (b6989586621679939348 ~> [a6989586621679939349]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindSym0 :: TyFun (a6989586621680450227 ~> Bool) (t6989586621680450226 a6989586621680450227 ~> Maybe a6989586621680450227) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SingI d => SingI (FindSym1 d :: TyFun [a] (Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SingI d => SingI (FindIndexSym1 d :: TyFun [a] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (FindIndexSym1 d) # | |
| (SEq a, SingI d) => SingI (ElemIndexSym1 d :: TyFun [a] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (ElemIndexSym1 d) # | |
| SingI d => SingI (FromMaybeSym1 d :: TyFun (Maybe a) a -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (FromMaybeSym1 d) # | |
| SingI (Maybe_Sym0 :: TyFun b ((a ~> b) ~> (Maybe a ~> b)) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing Maybe_Sym0 # | |
| SEq a => SingI (LookupSym0 :: TyFun a ([(a, b)] ~> Maybe b) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing LookupSym0 # | |
| SingI (MapMaybeSym0 :: TyFun (a ~> Maybe b) ([a] ~> [b]) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing MapMaybeSym0 # | |
| SingI (UnfoldrSym0 :: TyFun (b ~> Maybe (a, b)) (b ~> [a]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing UnfoldrSym0 # | |
| SFoldable t => SingI (FindSym0 :: TyFun (a ~> Bool) (t a ~> Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable | |
| SuppressUnusedWarnings (LookupSym1 a6989586621679948631 b6989586621679939271 :: TyFun [(a6989586621679939270, b6989586621679939271)] (Maybe b6989586621679939271) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607618Sym1 a6989586621679607616 b6989586621679544292 :: TyFun (Maybe b6989586621679544292) (Maybe b6989586621679544292) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607460Sym1 a6989586621679607458 b6989586621679544272 :: TyFun (Maybe b6989586621679544272) (Maybe b6989586621679544272) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607430Sym1 a6989586621679607428 :: TyFun (Maybe a6989586621679544266) (Maybe b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607289Sym1 a6989586621679607287 b6989586621679544263 :: TyFun (Maybe b6989586621679544263) (Maybe a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679607269Sym1 a6989586621679607267 :: TyFun (Maybe a6989586621679544260) (Maybe b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442136NSym1 x6989586621680442134 :: TyFun k1 (Maybe k1) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442136MSym1 x6989586621680442134 :: TyFun k (Maybe k1) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442109NSym1 x6989586621680442107 :: TyFun k1 (Maybe k1) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680442109MSym1 x6989586621680442107 :: TyFun k (Maybe k1) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindSym1 a6989586621680450684 t6989586621680450226 :: TyFun (t6989586621680450226 a6989586621680450227) (Maybe a6989586621680450227) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338490Sym0 :: TyFun k (TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338402Sym0 :: TyFun k (TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680753993Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Maybe a6989586621680747832 ~> f6989586621680747831 (Maybe b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679607602Sym1 a6989586621679607600 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Maybe b6989586621679544290) (Maybe b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (LiftA2_6989586621679607446Sym0 :: TyFun (a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) (Maybe a6989586621679544268 ~> (Maybe b6989586621679544269 ~> Maybe c6989586621679544270)) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Maybe_Sym1 a6989586621679493324 a6989586621679493307 :: TyFun (a6989586621679493307 ~> b6989586621679493306) (Maybe a6989586621679493307 ~> b6989586621679493306) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679494902RsSym0 :: TyFun (a6989586621679494728 ~> Maybe k1) (TyFun k (TyFun [a6989586621679494728] [k1] -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451161MfSym0 :: TyFun (k2 ~> (k3 ~> k3)) (TyFun k (TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451136MfSym0 :: TyFun (k3 ~> (k2 ~> k3)) (TyFun k (TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| (SEq a, SingI d) => SingI (LookupSym1 d b :: TyFun [(a, b)] (Maybe b) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (LookupSym1 d b) # | |
| (SFoldable t, SingI d) => SingI (FindSym1 d t :: TyFun (t a) (Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable | |
| SingI d => SingI (Maybe_Sym1 d a :: TyFun (a ~> b) (Maybe a ~> b) -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (Maybe_Sym1 d a) # | |
| SuppressUnusedWarnings (Traverse_6989586621680753993Sym1 a6989586621680753991 :: TyFun (Maybe a6989586621680747832) (f6989586621680747831 (Maybe b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (LiftA2_6989586621679607446Sym1 a6989586621679607443 :: TyFun (Maybe a6989586621679544268) (Maybe b6989586621679544269 ~> Maybe c6989586621679544270) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Maybe_Sym2 a6989586621679493325 a6989586621679493324 :: TyFun (Maybe a6989586621679493307) b6989586621679493306 -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451161MfSym1 f6989586621680451159 :: TyFun k (TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451136MfSym1 f6989586621680451134 :: TyFun k (TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338490Sym1 a6989586621680338488 :: TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338402Sym1 a6989586621680338400 :: TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| (SingI d1, SingI d2) => SingI (Maybe_Sym2 d1 d2 :: TyFun (Maybe a) b -> Type) | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (Maybe_Sym2 d1 d2) # | |
| SuppressUnusedWarnings (LiftA2_6989586621679607446Sym2 a6989586621679607444 a6989586621679607443 :: TyFun (Maybe b6989586621679544269) (Maybe c6989586621679544270) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451161MfSym2 xs6989586621680451160 f6989586621680451159 :: TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451136MfSym2 xs6989586621680451135 f6989586621680451134 :: TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338490Sym2 k6989586621680338489 a6989586621680338488 :: TyFun k1 (Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338402Sym2 k6989586621680338401 a6989586621680338400 :: TyFun k1 (Maybe a) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451136MfSym3 a6989586621680451137 xs6989586621680451135 f6989586621680451134 :: TyFun (Maybe k2) (Maybe k3) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451161MfSym3 a6989586621680451162 xs6989586621680451160 f6989586621680451159 :: TyFun k3 (Maybe k3) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| type Empty | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Mzero | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Product (arg :: Maybe a) | |
| type Sum (arg :: Maybe a) | |
| type Minimum (arg :: Maybe a) | |
| type Maximum (arg :: Maybe a) | |
| type Length (arg :: Maybe a) | |
| type Null (arg :: Maybe a) | |
| type ToList (arg :: Maybe a) | |
| type Fold (arg :: Maybe m) | |
| type Pure (a :: k1) | |
| type Fail a2 | |
| type Return (arg :: a) | |
| type Sequence (arg :: Maybe (m a)) | |
| type SequenceA (arg :: Maybe (f a)) | |
| type Elem (arg1 :: a) (arg2 :: Maybe a) | |
| type Foldl1 (arg1 :: a ~> (a ~> a)) (arg2 :: Maybe a) | |
| type Foldr1 (arg1 :: a ~> (a ~> a)) (arg2 :: Maybe a) | |
| type (a1 :: Maybe a6989586621679544343) <|> (a2 :: Maybe a6989586621679544343) | |
| type Mplus (arg1 :: Maybe a) (arg2 :: Maybe a) | |
| type FoldMap (a1 :: a6989586621680450321 ~> k2) (a2 :: Maybe a6989586621680450321) | |
| type (a1 :: k1) <$ (a2 :: Maybe b6989586621679544263) | |
| type Fmap (a1 :: a6989586621679544260 ~> b6989586621679544261) (a2 :: Maybe a6989586621679544260) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type (arg1 :: Maybe a) <* (arg2 :: Maybe b) | |
| type (a1 :: Maybe a6989586621679544271) *> (a2 :: Maybe b6989586621679544272) | |
| type (a1 :: Maybe (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: Maybe a6989586621679544266) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type (a1 :: Maybe a6989586621679544291) >> (a2 :: Maybe b6989586621679544292) | |
| type (a1 :: Maybe a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> Maybe b6989586621679544290) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type MapM (arg1 :: a ~> m b) (arg2 :: Maybe a) | |
| type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Maybe a6989586621680747832) | |
Defined in Data.Singletons.Prelude.Traversable type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Maybe a6989586621680747832) = Apply (Apply (Traverse_6989586621680753993Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Maybe a6989586621680747832 ~> f6989586621680747831 (Maybe b6989586621680747833)) -> Type) a1) a2 | |
| type Foldl' (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: Maybe a) | |
| type Foldl (a1 :: k2 ~> (a6989586621680450327 ~> k2)) (a2 :: k2) (a3 :: Maybe a6989586621680450327) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr' (arg1 :: a ~> (b ~> b)) (arg2 :: b) (arg3 :: Maybe a) | |
| type Foldr (a1 :: a6989586621680450322 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Maybe a6989586621680450322) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type LiftA2 (a1 :: a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) (a2 :: Maybe a6989586621679544268) (a3 :: Maybe b6989586621679544269) | |
Defined in Data.Singletons.Prelude.Monad.Internal type LiftA2 (a1 :: a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) (a2 :: Maybe a6989586621679544268) (a3 :: Maybe b6989586621679544269) = Apply (Apply (Apply (LiftA2_6989586621679607446Sym0 :: TyFun (a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) (Maybe a6989586621679544268 ~> (Maybe b6989586621679544269 ~> Maybe c6989586621679544270)) -> Type) a1) a2) a3 | |
| type Apply (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679494938 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Maybe | |
| type Apply (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679494940 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Maybe | |
| type Apply (FromJustSym0 :: TyFun (Maybe a) a -> Type) (a6989586621679494935 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Maybe | |
| type Apply (Compare_6989586621679390452Sym1 a6989586621679390450 :: TyFun (Maybe a) Ordering -> Type) (a6989586621679390451 :: Maybe a) | |
| type Apply (FromMaybeSym1 a6989586621679494925 :: TyFun (Maybe a) a -> Type) (a6989586621679494926 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Maybe | |
| type Apply (Maybe_Sym2 a6989586621679493325 a6989586621679493324 :: TyFun (Maybe a) b -> Type) (a6989586621679493326 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Maybe | |
| type Rep (Maybe a) | Since: base-4.6.0.0 |
| data Sing (b :: Maybe a) | |
| type DemoteRep (Maybe a) | |
Defined in GHC.Generics | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| data Sing (b :: Maybe a) | |
| type Demote (Maybe a) | |
Defined in Data.Singletons.Prelude.Instances | |
| type Rep1 Maybe | Since: base-4.6.0.0 |
| type ToPretty (t :: Maybe x) | Render a type of kind Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type Mconcat (arg :: [Maybe a]) | |
| type Show_ (arg :: Maybe a) | |
| type Sconcat (arg :: NonEmpty (Maybe a)) | |
| type Mappend (arg1 :: Maybe a) (arg2 :: Maybe a) | |
| type ShowList (arg1 :: [Maybe a]) arg2 | |
| type (a2 :: Maybe a1) <> (a3 :: Maybe a1) | |
| type Min (arg1 :: Maybe a) (arg2 :: Maybe a) | |
| type Max (arg1 :: Maybe a) (arg2 :: Maybe a) | |
| type (arg1 :: Maybe a) >= (arg2 :: Maybe a) | |
| type (arg1 :: Maybe a) > (arg2 :: Maybe a) | |
| type (arg1 :: Maybe a) <= (arg2 :: Maybe a) | |
| type (arg1 :: Maybe a) < (arg2 :: Maybe a) | |
| type Compare (a2 :: Maybe a1) (a3 :: Maybe a1) | |
| type (x :: Maybe a) /= (y :: Maybe a) | |
| type (a2 :: Maybe a1) == (b :: Maybe a1) | |
Defined in Data.Singletons.Prelude.Eq | |
| type ShowsPrec a2 (a3 :: Maybe a1) a4 | |
| type Apply (Pure_6989586621679607418Sym0 :: TyFun a (Maybe a) -> Type) (a6989586621679607417 :: a) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Apply (Fail_6989586621679607625Sym0 :: TyFun Symbol (Maybe a6989586621679544294) -> Type) (a6989586621679607624 :: Symbol) | |
| type Apply (Let6989586621679607714LSym0 :: TyFun k1 (Maybe k1) -> Type) (wild_69895866216796068756989586621679607713 :: k1) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Apply (JustSym0 :: TyFun a (Maybe a) -> Type) (t6989586621679294164 :: a) | |
| type Apply (Let6989586621680442109MSym1 x6989586621680442107 :: TyFun k (Maybe k1) -> Type) (y6989586621680442108 :: k) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Let6989586621680442109NSym1 x6989586621680442107 :: TyFun k1 (Maybe k1) -> Type) (y6989586621680442108 :: k1) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Let6989586621680442136MSym1 x6989586621680442134 :: TyFun k (Maybe k1) -> Type) (y6989586621680442135 :: k) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Let6989586621680442136NSym1 x6989586621680442134 :: TyFun k1 (Maybe k1) -> Type) (y6989586621680442135 :: k1) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Lambda_6989586621680338402Sym2 k6989586621680338401 a6989586621680338400 :: TyFun k1 (Maybe a) -> Type) (t6989586621680338413 :: k1) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Lambda_6989586621680338490Sym2 k6989586621680338489 a6989586621680338488 :: TyFun k1 (Maybe a) -> Type) (t6989586621680338501 :: k1) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Let6989586621680451161MfSym3 a6989586621680451162 xs6989586621680451160 f6989586621680451159 :: TyFun k3 (Maybe k3) -> Type) (a6989586621680451163 :: k3) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) (a6989586621679494914 :: [Maybe a]) | |
Defined in Data.Singletons.Prelude.Maybe | |
| type Apply (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) (a6989586621679494922 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) (a6989586621679494922 :: Maybe a) = MaybeToList a6989586621679494922 | |
| type Apply (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) (a6989586621679494919 :: [a]) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) (a6989586621679494919 :: [a]) = ListToMaybe a6989586621679494919 | |
| type Apply (GetOptionSym0 :: TyFun (Option a) (Maybe a) -> Type) (a6989586621679819760 :: Option a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) (a6989586621680332307 :: First a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) (a6989586621680332328 :: Last a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (OptionSym0 :: TyFun (Maybe a) (Option a) -> Type) (t6989586621679819763 :: Maybe a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) (t6989586621680332310 :: Maybe a) | |
| type Apply (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) (t6989586621680332331 :: Maybe a) | |
| type Apply (MaxInternalSym0 :: TyFun (Maybe a) (MaxInternal a) -> Type) (t6989586621680441330 :: Maybe a) | |
| type Apply (MinInternalSym0 :: TyFun (Maybe a) (MinInternal a) -> Type) (t6989586621680441530 :: Maybe a) | |
| type PrettySeperator (Maybe s :: Type) (typeLit :: Maybe k) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type InRange (Maybe s :: Type) (Nothing :: Maybe k) Source # | |
| type Pretty (Maybe s :: Type) (Nothing :: Maybe k) Source # | |
| type SizeOf (Maybe s :: Type) (Nothing :: Maybe k) Source # | |
| type InRange (Maybe s :: Type) (Just x :: Maybe k) Source # | |
| type Pretty (Maybe s :: Type) (Just x :: Maybe k) Source # | |
| type SizeOf (Maybe s :: Type) (Just x :: Maybe k) Source # | |
| type Apply (StripPrefixSym1 a6989586621680078217 :: TyFun [a] (Maybe [a]) -> Type) (a6989586621680078218 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (StripPrefixSym1 a6989586621680078217 :: TyFun [a] (Maybe [a]) -> Type) (a6989586621680078218 :: [a]) = StripPrefix a6989586621680078217 a6989586621680078218 | |
| type Apply (FindIndexSym1 a6989586621679949209 :: TyFun [a] (Maybe Nat) -> Type) (a6989586621679949210 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (ElemIndexSym1 a6989586621679949217 :: TyFun [a] (Maybe Nat) -> Type) (a6989586621679949218 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (TFHelper_6989586621679607718Sym1 a6989586621679607716 :: TyFun (Maybe a) (Maybe a) -> Type) (a6989586621679607717 :: Maybe a) | |
| type Apply (FindSym1 a6989586621679948849 :: TyFun [a] (Maybe a) -> Type) (a6989586621679948850 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (Fmap_6989586621679607269Sym1 a6989586621679607267 :: TyFun (Maybe a) (Maybe b) -> Type) (a6989586621679607268 :: Maybe a) | |
| type Apply (TFHelper_6989586621679607289Sym1 a6989586621679607287 b :: TyFun (Maybe b) (Maybe a) -> Type) (a6989586621679607288 :: Maybe b) | |
| type Apply (TFHelper_6989586621679607430Sym1 a6989586621679607428 :: TyFun (Maybe a) (Maybe b) -> Type) (a6989586621679607429 :: Maybe a) | |
| type Apply (TFHelper_6989586621679607460Sym1 a6989586621679607458 b :: TyFun (Maybe b) (Maybe b) -> Type) (a6989586621679607459 :: Maybe b) | |
| type Apply (TFHelper_6989586621679607618Sym1 a6989586621679607616 b :: TyFun (Maybe b) (Maybe b) -> Type) (a6989586621679607617 :: Maybe b) | |
| type Apply (LookupSym1 a6989586621679948631 b :: TyFun [(a, b)] (Maybe b) -> Type) (a6989586621679948632 :: [(a, b)]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (FindSym1 a6989586621680450684 t :: TyFun (t a) (Maybe a) -> Type) (a6989586621680450685 :: t a) | |
| type Apply (Traverse_6989586621680753993Sym1 a6989586621680753991 :: TyFun (Maybe a) (f (Maybe b)) -> Type) (a6989586621680753992 :: Maybe a) | |
| type Apply (Optional fallback f :: (Maybe s -> Extends t) -> Type) (Nothing :: Maybe s) Source # | |
| type Apply (Optional fallback f :: (Maybe a -> Extends t) -> Type) (Just s :: Maybe a) Source # | |
| type Apply (LiftA2_6989586621679607446Sym2 a6989586621679607444 a6989586621679607443 :: TyFun (Maybe b) (Maybe c) -> Type) (a6989586621679607445 :: Maybe b) | |
| type Apply (Let6989586621680451136MfSym3 a6989586621680451137 xs6989586621680451135 f6989586621680451134 :: TyFun (Maybe k2) (Maybe k3) -> Type) (a6989586621680451138 :: Maybe k2) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (TFHelper_6989586621679607602Sym1 a6989586621679607600 b :: TyFun (a ~> Maybe b) (Maybe b) -> Type) (a6989586621679607601 :: a ~> Maybe b) | |
| type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) Source # | |
Defined in Data.Type.BitRecords.Assert type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) | |
| type Apply (ElemIndexSym0 :: TyFun a6989586621679939291 ([a6989586621679939291] ~> Maybe Nat) -> Type) (a6989586621679949217 :: a6989586621679939291) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (ElemIndexSym0 :: TyFun a6989586621679939291 ([a6989586621679939291] ~> Maybe Nat) -> Type) (a6989586621679949217 :: a6989586621679939291) = ElemIndexSym1 a6989586621679949217 | |
| type Apply (ShowsPrec_6989586621680280443Sym0 :: TyFun Nat (Maybe a3530822107858468865 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280440 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (FromMaybeSym0 :: TyFun a6989586621679494733 (Maybe a6989586621679494733 ~> a6989586621679494733) -> Type) (a6989586621679494925 :: a6989586621679494733) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (FromMaybeSym0 :: TyFun a6989586621679494733 (Maybe a6989586621679494733 ~> a6989586621679494733) -> Type) (a6989586621679494925 :: a6989586621679494733) = FromMaybeSym1 a6989586621679494925 | |
| type Apply (Let6989586621680442109MSym0 :: TyFun k1 (TyFun k (Maybe k1) -> Type) -> Type) (x6989586621680442107 :: k1) | |
| type Apply (Let6989586621680442109NSym0 :: TyFun k (TyFun k1 (Maybe k1) -> Type) -> Type) (x6989586621680442107 :: k) | |
| type Apply (Let6989586621680442136MSym0 :: TyFun k1 (TyFun k (Maybe k1) -> Type) -> Type) (x6989586621680442134 :: k1) | |
| type Apply (Let6989586621680442136NSym0 :: TyFun k (TyFun k1 (Maybe k1) -> Type) -> Type) (x6989586621680442134 :: k) | |
| type Apply (LookupSym0 :: TyFun a6989586621679939270 ([(a6989586621679939270, b6989586621679939271)] ~> Maybe b6989586621679939271) -> Type) (a6989586621679948631 :: a6989586621679939270) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (LookupSym0 :: TyFun a6989586621679939270 ([(a6989586621679939270, b6989586621679939271)] ~> Maybe b6989586621679939271) -> Type) (a6989586621679948631 :: a6989586621679939270) = (LookupSym1 a6989586621679948631 b6989586621679939271 :: TyFun [(a6989586621679939270, b6989586621679939271)] (Maybe b6989586621679939271) -> Type) | |
| type Apply (TFHelper_6989586621679607289Sym0 :: TyFun a6989586621679544262 (Maybe b6989586621679544263 ~> Maybe a6989586621679544262) -> Type) (a6989586621679607287 :: a6989586621679544262) | |
Defined in Data.Singletons.Prelude.Monad.Internal type Apply (TFHelper_6989586621679607289Sym0 :: TyFun a6989586621679544262 (Maybe b6989586621679544263 ~> Maybe a6989586621679544262) -> Type) (a6989586621679607287 :: a6989586621679544262) = (TFHelper_6989586621679607289Sym1 a6989586621679607287 b6989586621679544263 :: TyFun (Maybe b6989586621679544263) (Maybe a6989586621679544262) -> Type) | |
| type Apply (Maybe_Sym0 :: TyFun b6989586621679493306 ((a6989586621679493307 ~> b6989586621679493306) ~> (Maybe a6989586621679493307 ~> b6989586621679493306)) -> Type) (a6989586621679493324 :: b6989586621679493306) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (Maybe_Sym0 :: TyFun b6989586621679493306 ((a6989586621679493307 ~> b6989586621679493306) ~> (Maybe a6989586621679493307 ~> b6989586621679493306)) -> Type) (a6989586621679493324 :: b6989586621679493306) = (Maybe_Sym1 a6989586621679493324 a6989586621679493307 :: TyFun (a6989586621679493307 ~> b6989586621679493306) (Maybe a6989586621679493307 ~> b6989586621679493306) -> Type) | |
| type Apply (Lambda_6989586621680338402Sym0 :: TyFun k (TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) (a6989586621680338400 :: k) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Lambda_6989586621680338490Sym0 :: TyFun k (TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) (a6989586621680338488 :: k) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Let6989586621680451161MfSym1 f6989586621680451159 :: TyFun k (TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) -> Type) (xs6989586621680451160 :: k) | |
| type Apply (Let6989586621680451136MfSym1 f6989586621680451134 :: TyFun k (TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) -> Type) (xs6989586621680451135 :: k) | |
| type Apply (Let6989586621680451136MfSym2 xs6989586621680451135 f6989586621680451134 :: TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) (a6989586621680451137 :: k3) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (StripPrefixSym0 :: TyFun [a6989586621680065507] ([a6989586621680065507] ~> Maybe [a6989586621680065507]) -> Type) (a6989586621680078217 :: [a6989586621680065507]) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (StripPrefixSym0 :: TyFun [a6989586621680065507] ([a6989586621680065507] ~> Maybe [a6989586621680065507]) -> Type) (a6989586621680078217 :: [a6989586621680065507]) = StripPrefixSym1 a6989586621680078217 | |
| type Apply (TFHelper_6989586621679607718Sym0 :: TyFun (Maybe a6989586621679544343) (Maybe a6989586621679544343 ~> Maybe a6989586621679544343) -> Type) (a6989586621679607716 :: Maybe a6989586621679544343) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Apply (Compare_6989586621679390452Sym0 :: TyFun (Maybe a3530822107858468865) (Maybe a3530822107858468865 ~> Ordering) -> Type) (a6989586621679390450 :: Maybe a3530822107858468865) | |
| type Apply (TFHelper_6989586621679607430Sym0 :: TyFun (Maybe (a6989586621679544266 ~> b6989586621679544267)) (Maybe a6989586621679544266 ~> Maybe b6989586621679544267) -> Type) (a6989586621679607428 :: Maybe (a6989586621679544266 ~> b6989586621679544267)) | |
Defined in Data.Singletons.Prelude.Monad.Internal type Apply (TFHelper_6989586621679607430Sym0 :: TyFun (Maybe (a6989586621679544266 ~> b6989586621679544267)) (Maybe a6989586621679544266 ~> Maybe b6989586621679544267) -> Type) (a6989586621679607428 :: Maybe (a6989586621679544266 ~> b6989586621679544267)) = TFHelper_6989586621679607430Sym1 a6989586621679607428 | |
| type Apply (TFHelper_6989586621679607460Sym0 :: TyFun (Maybe a6989586621679544271) (Maybe b6989586621679544272 ~> Maybe b6989586621679544272) -> Type) (a6989586621679607458 :: Maybe a6989586621679544271) | |
Defined in Data.Singletons.Prelude.Monad.Internal type Apply (TFHelper_6989586621679607460Sym0 :: TyFun (Maybe a6989586621679544271) (Maybe b6989586621679544272 ~> Maybe b6989586621679544272) -> Type) (a6989586621679607458 :: Maybe a6989586621679544271) = (TFHelper_6989586621679607460Sym1 a6989586621679607458 b6989586621679544272 :: TyFun (Maybe b6989586621679544272) (Maybe b6989586621679544272) -> Type) | |
| type Apply (TFHelper_6989586621679607618Sym0 :: TyFun (Maybe a6989586621679544291) (Maybe b6989586621679544292 ~> Maybe b6989586621679544292) -> Type) (a6989586621679607616 :: Maybe a6989586621679544291) | |
Defined in Data.Singletons.Prelude.Monad.Internal type Apply (TFHelper_6989586621679607618Sym0 :: TyFun (Maybe a6989586621679544291) (Maybe b6989586621679544292 ~> Maybe b6989586621679544292) -> Type) (a6989586621679607616 :: Maybe a6989586621679544291) = (TFHelper_6989586621679607618Sym1 a6989586621679607616 b6989586621679544292 :: TyFun (Maybe b6989586621679544292) (Maybe b6989586621679544292) -> Type) | |
| type Apply (ShowsPrec_6989586621680280443Sym1 a6989586621680280440 a3530822107858468865 :: TyFun (Maybe a3530822107858468865) (Symbol ~> Symbol) -> Type) (a6989586621680280441 :: Maybe a3530822107858468865) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (TFHelper_6989586621679607602Sym0 :: TyFun (Maybe a6989586621679544289) ((a6989586621679544289 ~> Maybe b6989586621679544290) ~> Maybe b6989586621679544290) -> Type) (a6989586621679607600 :: Maybe a6989586621679544289) | |
Defined in Data.Singletons.Prelude.Monad.Internal type Apply (TFHelper_6989586621679607602Sym0 :: TyFun (Maybe a6989586621679544289) ((a6989586621679544289 ~> Maybe b6989586621679544290) ~> Maybe b6989586621679544290) -> Type) (a6989586621679607600 :: Maybe a6989586621679544289) = (TFHelper_6989586621679607602Sym1 a6989586621679607600 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Maybe b6989586621679544290) (Maybe b6989586621679544290) -> Type) | |
| type Apply (LiftA2_6989586621679607446Sym1 a6989586621679607443 :: TyFun (Maybe a6989586621679544268) (Maybe b6989586621679544269 ~> Maybe c6989586621679544270) -> Type) (a6989586621679607444 :: Maybe a6989586621679544268) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Apply (Let6989586621680451161MfSym2 xs6989586621680451160 f6989586621680451159 :: TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) (a6989586621680451162 :: Maybe k2) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (FindSym0 :: TyFun (a6989586621679939292 ~> Bool) ([a6989586621679939292] ~> Maybe a6989586621679939292) -> Type) (a6989586621679948849 :: a6989586621679939292 ~> Bool) | |
| type Apply (FindIndexSym0 :: TyFun (a6989586621679939289 ~> Bool) ([a6989586621679939289] ~> Maybe Nat) -> Type) (a6989586621679949209 :: a6989586621679939289 ~> Bool) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (MapMaybeSym0 :: TyFun (a6989586621679494728 ~> Maybe b6989586621679494729) ([a6989586621679494728] ~> [b6989586621679494729]) -> Type) (a6989586621679494895 :: a6989586621679494728 ~> Maybe b6989586621679494729) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (MapMaybeSym0 :: TyFun (a6989586621679494728 ~> Maybe b6989586621679494729) ([a6989586621679494728] ~> [b6989586621679494729]) -> Type) (a6989586621679494895 :: a6989586621679494728 ~> Maybe b6989586621679494729) = MapMaybeSym1 a6989586621679494895 | |
| type Apply (Fmap_6989586621679607269Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Maybe a6989586621679544260 ~> Maybe b6989586621679544261) -> Type) (a6989586621679607267 :: a6989586621679544260 ~> b6989586621679544261) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| type Apply (UnfoldrSym0 :: TyFun (b6989586621679939348 ~> Maybe (a6989586621679939349, b6989586621679939348)) (b6989586621679939348 ~> [a6989586621679939349]) -> Type) (a6989586621679949282 :: b6989586621679939348 ~> Maybe (a6989586621679939349, b6989586621679939348)) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (UnfoldrSym0 :: TyFun (b6989586621679939348 ~> Maybe (a6989586621679939349, b6989586621679939348)) (b6989586621679939348 ~> [a6989586621679939349]) -> Type) (a6989586621679949282 :: b6989586621679939348 ~> Maybe (a6989586621679939349, b6989586621679939348)) = UnfoldrSym1 a6989586621679949282 | |
| type Apply (FindSym0 :: TyFun (a6989586621680450227 ~> Bool) (t6989586621680450226 a6989586621680450227 ~> Maybe a6989586621680450227) -> Type) (a6989586621680450684 :: a6989586621680450227 ~> Bool) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (FindSym0 :: TyFun (a6989586621680450227 ~> Bool) (t6989586621680450226 a6989586621680450227 ~> Maybe a6989586621680450227) -> Type) (a6989586621680450684 :: a6989586621680450227 ~> Bool) = (FindSym1 a6989586621680450684 t6989586621680450226 :: TyFun (t6989586621680450226 a6989586621680450227) (Maybe a6989586621680450227) -> Type) | |
| type Apply (Let6989586621679494902RsSym0 :: TyFun (a6989586621679494728 ~> Maybe k1) (TyFun k (TyFun [a6989586621679494728] [k1] -> Type) -> Type) -> Type) (f6989586621679494899 :: a6989586621679494728 ~> Maybe k1) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (Let6989586621679494902RsSym0 :: TyFun (a6989586621679494728 ~> Maybe k1) (TyFun k (TyFun [a6989586621679494728] [k1] -> Type) -> Type) -> Type) (f6989586621679494899 :: a6989586621679494728 ~> Maybe k1) = (Let6989586621679494902RsSym1 f6989586621679494899 :: TyFun k (TyFun [a6989586621679494728] [k1] -> Type) -> Type) | |
| type Apply (Let6989586621680451136MfSym0 :: TyFun (k3 ~> (k2 ~> k3)) (TyFun k (TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) -> Type) -> Type) (f6989586621680451134 :: k3 ~> (k2 ~> k3)) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680451136MfSym0 :: TyFun (k3 ~> (k2 ~> k3)) (TyFun k (TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) -> Type) -> Type) (f6989586621680451134 :: k3 ~> (k2 ~> k3)) = (Let6989586621680451136MfSym1 f6989586621680451134 :: TyFun k (TyFun k3 (TyFun (Maybe k2) (Maybe k3) -> Type) -> Type) -> Type) | |
| type Apply (Let6989586621680451161MfSym0 :: TyFun (k2 ~> (k3 ~> k3)) (TyFun k (TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) -> Type) -> Type) (f6989586621680451159 :: k2 ~> (k3 ~> k3)) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680451161MfSym0 :: TyFun (k2 ~> (k3 ~> k3)) (TyFun k (TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) -> Type) -> Type) (f6989586621680451159 :: k2 ~> (k3 ~> k3)) = (Let6989586621680451161MfSym1 f6989586621680451159 :: TyFun k (TyFun (Maybe k2) (TyFun k3 (Maybe k3) -> Type) -> Type) -> Type) | |
| type Apply (Traverse_6989586621680753993Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Maybe a6989586621680747832 ~> f6989586621680747831 (Maybe b6989586621680747833)) -> Type) (a6989586621680753991 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) | |
Defined in Data.Singletons.Prelude.Traversable type Apply (Traverse_6989586621680753993Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Maybe a6989586621680747832 ~> f6989586621680747831 (Maybe b6989586621680747833)) -> Type) (a6989586621680753991 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) = Traverse_6989586621680753993Sym1 a6989586621680753991 | |
| type Apply (LiftA2_6989586621679607446Sym0 :: TyFun (a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) (Maybe a6989586621679544268 ~> (Maybe b6989586621679544269 ~> Maybe c6989586621679544270)) -> Type) (a6989586621679607443 :: a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) | |
Defined in Data.Singletons.Prelude.Monad.Internal type Apply (LiftA2_6989586621679607446Sym0 :: TyFun (a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) (Maybe a6989586621679544268 ~> (Maybe b6989586621679544269 ~> Maybe c6989586621679544270)) -> Type) (a6989586621679607443 :: a6989586621679544268 ~> (b6989586621679544269 ~> c6989586621679544270)) = LiftA2_6989586621679607446Sym1 a6989586621679607443 | |
| type Apply (Maybe_Sym1 a6989586621679493324 a6989586621679493307 :: TyFun (a6989586621679493307 ~> b6989586621679493306) (Maybe a6989586621679493307 ~> b6989586621679493306) -> Type) (a6989586621679493325 :: a6989586621679493307 ~> b6989586621679493306) | |
Defined in Data.Singletons.Prelude.Maybe type Apply (Maybe_Sym1 a6989586621679493324 a6989586621679493307 :: TyFun (a6989586621679493307 ~> b6989586621679493306) (Maybe a6989586621679493307 ~> b6989586621679493306) -> Type) (a6989586621679493325 :: a6989586621679493307 ~> b6989586621679493306) = Maybe_Sym2 a6989586621679493324 a6989586621679493325 | |
| type Apply (Lambda_6989586621680338402Sym1 a6989586621680338400 :: TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) (k6989586621680338401 :: k1 ~> First a) | |
| type Apply (Lambda_6989586621680338490Sym1 a6989586621680338488 :: TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) (k6989586621680338489 :: k1 ~> Last a) | |
class a ~# b => (a :: k0) ~~ (b :: k1) #
Lifted, heterogeneous equality. By lifted, we mean that it
can be bogus (deferred type error). By heterogeneous, the two
types a and b might have different kinds. Because ~~ can
appear unexpectedly in error messages to users who do not care
about the difference between heterogeneous equality ~~ and
homogeneous equality ~, this is printed as ~ unless
-fprint-equality-relations is set.
Instances
8-bit unsigned integer type
Instances
16-bit unsigned integer type
Instances
32-bit unsigned integer type
Instances
64-bit unsigned integer type
Instances
data Constraint #
The kind of constraints, like Show a
(Kind) This is the kind of type-level natural numbers.
Instances
| PShow Nat | |
| SShow Nat | |
| PEnum Nat | |
Defined in Data.Singletons.Prelude.Enum | |
| SEnum Nat | |
Defined in Data.Singletons.Prelude.Enum Methods sSucc :: Sing t -> Sing (Apply SuccSym0 t) # sPred :: Sing t -> Sing (Apply PredSym0 t) # sToEnum :: Sing t -> Sing (Apply ToEnumSym0 t) # sFromEnum :: Sing t -> Sing (Apply FromEnumSym0 t) # sEnumFromTo :: Sing t1 -> Sing t2 -> Sing (Apply (Apply EnumFromToSym0 t1) t2) # sEnumFromThenTo :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t1) t2) t3) # | |
| PNum Nat | |
| SNum Nat | |
Defined in Data.Singletons.Prelude.Num Methods (%+) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (+@#@$) t1) t2) # (%-) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (-@#@$) t1) t2) # (%*) :: Sing t1 -> Sing t2 -> Sing (Apply (Apply (*@#@$) t1) t2) # sNegate :: Sing t -> Sing (Apply NegateSym0 t) # sAbs :: Sing t -> Sing (Apply AbsSym0 t) # sSignum :: Sing t -> Sing (Apply SignumSym0 t) # sFromInteger :: Sing t -> Sing (Apply FromIntegerSym0 t) # | |
| (KnownNat v, DynamicContent BitBuilder (Proxy f) rt, Num rt) => HasFunctionBuilder BitBuilder (Proxy (f :=. v)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (f :=. v)) r :: Type # Methods toFunctionBuilder :: Proxy (f :=. v) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (f :=. v)) r) # | |
| HasFunctionBuilder BitBuilder (Proxy (MkField MkFieldU8)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (MkField MkFieldU8)) r :: Type # Methods toFunctionBuilder :: Proxy (MkField MkFieldU8) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (MkField MkFieldU8)) r) # | |
| HasFunctionBuilder BitBuilder (Proxy (MkField MkFieldU16)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (MkField MkFieldU16)) r :: Type # Methods toFunctionBuilder :: Proxy (MkField MkFieldU16) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (MkField MkFieldU16)) r) # | |
| HasFunctionBuilder BitBuilder (Proxy (MkField MkFieldU32)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (MkField MkFieldU32)) r :: Type # Methods toFunctionBuilder :: Proxy (MkField MkFieldU32) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (MkField MkFieldU32)) r) # | |
| HasFunctionBuilder BitBuilder (Proxy (MkField MkFieldU64)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (MkField MkFieldU64)) r :: Type # Methods toFunctionBuilder :: Proxy (MkField MkFieldU64) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (MkField MkFieldU64)) r) # | |
| (KnownNat v, DynamicContent BitBuilder (Proxy f) rt, Num rt) => HasFunctionBuilder BitBuilder (Proxy (f := v)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (f := v)) r :: Type # Methods toFunctionBuilder :: Proxy (f := v) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (f := v)) r) # | |
| KnownChunkSize s => HasFunctionBuilder BitBuilder (Proxy (MkField (MkFieldBits :: BitField (B s) Nat s))) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (MkField MkFieldBits)) r :: Type # Methods toFunctionBuilder :: Proxy (MkField MkFieldBits) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (MkField MkFieldBits)) r) # | |
| HasFunctionBuilder BitBuilder (Proxy MkFieldU32) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy MkFieldU32) r :: Type # Methods toFunctionBuilder :: Proxy MkFieldU32 -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy MkFieldU32) r) # | |
| DynamicContent BitBuilder (Proxy (MkField MkFieldU8)) Word8 Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (MkField MkFieldU8) -> FunctionBuilder BitBuilder next (Word8 -> next) # | |
| DynamicContent BitBuilder (Proxy (MkField MkFieldU16)) Word16 Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (MkField MkFieldU16) -> FunctionBuilder BitBuilder next (Word16 -> next) # | |
| DynamicContent BitBuilder (Proxy (MkField MkFieldU32)) Word32 Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (MkField MkFieldU32) -> FunctionBuilder BitBuilder next (Word32 -> next) # | |
| DynamicContent BitBuilder (Proxy (MkField MkFieldU64)) Word64 Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (MkField MkFieldU64) -> FunctionBuilder BitBuilder next (Word64 -> next) # | |
| DynamicContent BitBuilder (Proxy MkFieldU32) Word32 Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy MkFieldU32 -> FunctionBuilder BitBuilder next (Word32 -> next) # | |
| KnownChunkSize s => DynamicContent BitBuilder (Proxy (MkField (MkFieldBits :: BitField (B s) Nat s))) (B s) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (MkField MkFieldBits) -> FunctionBuilder BitBuilder next (B s -> next) # | |
| (KnownNat scalar, Num o) => FromTypeLit (Scalar o label) (scalar :: Nat) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.BoxFields Methods fromTypeLit :: proxy (Scalar o label) scalar -> Scalar o label Source # | |
| LiteralFamily Word8 Nat Source # | |
| LiteralFamily Word16 Nat Source # | |
| LiteralFamily Nat Nat Source # | |
| LiteralFamily Byte Nat Source # | |
| LiteralFamily Bit Nat Source # | |
| (KnownSymbol label, SingI arr, Num o, SingKind [Nat], KnownNat len, len ~ Length arr) => FromTypeLit (ScalarArray label len o) (arr :: [Nat]) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.BoxFields Methods fromTypeLit :: proxy (ScalarArray label len o) arr -> ScalarArray label len o Source # | |
| KnownNat bits => Bits (BoxFlags bits) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.FullBox Methods (.&.) :: BoxFlags bits -> BoxFlags bits -> BoxFlags bits # (.|.) :: BoxFlags bits -> BoxFlags bits -> BoxFlags bits # xor :: BoxFlags bits -> BoxFlags bits -> BoxFlags bits # complement :: BoxFlags bits -> BoxFlags bits # shift :: BoxFlags bits -> Int -> BoxFlags bits # rotate :: BoxFlags bits -> Int -> BoxFlags bits # setBit :: BoxFlags bits -> Int -> BoxFlags bits # clearBit :: BoxFlags bits -> Int -> BoxFlags bits # complementBit :: BoxFlags bits -> Int -> BoxFlags bits # testBit :: BoxFlags bits -> Int -> Bool # bitSizeMaybe :: BoxFlags bits -> Maybe Int # bitSize :: BoxFlags bits -> Int # isSigned :: BoxFlags bits -> Bool # shiftL :: BoxFlags bits -> Int -> BoxFlags bits # unsafeShiftL :: BoxFlags bits -> Int -> BoxFlags bits # shiftR :: BoxFlags bits -> Int -> BoxFlags bits # unsafeShiftR :: BoxFlags bits -> Int -> BoxFlags bits # rotateL :: BoxFlags bits -> Int -> BoxFlags bits # | |
| KnownNat bits => IsBoxContent (BoxFlags bits) Source # | Get the number of bytes required to store a number of bits. |
| SuppressUnusedWarnings FromEnum_6989586621679763353Sym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings FromEnum_6989586621679763377Sym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ToEnum_6989586621679763347Sym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ToEnum_6989586621679763371Sym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings KnownNatSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings Log2Sym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ToEnum_6989586621679763388Sym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280557Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280584Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (<=?@#@$) | |
Defined in Data.Singletons.TypeLits.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings EftNatSym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings RemSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings QuotSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ModSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings DivSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (^@#@$) | |
Defined in Data.Singletons.TypeLits.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings DivModSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings QuotRemSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings EfdtNatDnSym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings EfdtNatSym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings EfdtNatUpSym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsNatSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680262357Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280406Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280612Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680865201Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680865227Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings FromEnum_6989586621679763394Sym0 | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SingI Log2Sym0 | |
Defined in Data.Singletons.TypeLits | |
| SingI (<=?@#@$) | |
Defined in Data.Singletons.TypeLits.Internal | |
| SingI ModSym0 | |
Defined in Data.Singletons.TypeLits | |
| SingI DivSym0 | |
Defined in Data.Singletons.TypeLits | |
| SingI (^@#@$) | |
Defined in Data.Singletons.TypeLits.Internal | |
| SingI EftNatSym0 | |
Defined in Data.Singletons.Prelude.Enum | |
| SingI EfdtNatDnSym0 | |
Defined in Data.Singletons.Prelude.Enum | |
| SingI EfdtNatSym0 | |
Defined in Data.Singletons.Prelude.Enum | |
| SingI EfdtNatUpSym0 | |
Defined in Data.Singletons.Prelude.Enum | |
| SuppressUnusedWarnings (ListlengthSym0 :: TyFun [a6989586621680404051] Nat -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ListindexSym0 :: TyFun [a6989586621680404052] (Nat ~> a6989586621680404052) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (LengthSym0 :: TyFun [a6989586621679939265] Nat -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ((!!@#@$) :: TyFun [a6989586621679939262] (Nat ~> a6989586621679939262) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ((<=?@#@$$) a3530822107858468865 :: TyFun Nat Bool -> Type) | |
Defined in Data.Singletons.TypeLits.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EftNatSym1 a6989586621679739714 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (RemSym1 a6989586621679486524 :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (QuotSym1 a6989586621679486534 :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ModSym1 a3530822107858468865 :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (DivSym1 a3530822107858468865 :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ((^@#@$$) a3530822107858468865 :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (DivModSym1 a6989586621679486540 :: TyFun Nat (Nat, Nat) -> Type) | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (QuotRemSym1 a6989586621679486550 :: TyFun Nat (Nat, Nat) -> Type) | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621679505158Sym0 :: TyFun Nat a6989586621679505019 -> Type) | |
Defined in Data.Singletons.Prelude.Num Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromIntegerSym0 :: TyFun Nat a6989586621679505019 -> Type) | |
Defined in Data.Singletons.Prelude.Num Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621679739834Sym0 :: TyFun Nat a6989586621679739461 -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnumSym0 :: TyFun Nat a6989586621679739461 -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621680881919Sym0 :: TyFun Nat (Min a6989586621680881171) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621680882094Sym0 :: TyFun Nat (Min a6989586621680881186) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621680882218Sym0 :: TyFun Nat (Max a6989586621680881203) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621680882393Sym0 :: TyFun Nat (Max a6989586621680881218) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621680882743Sym0 :: TyFun Nat (First a6989586621680881257) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621680882971Sym0 :: TyFun Nat (Last a6989586621680881278) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621680883155Sym0 :: TyFun Nat (WrappedMonoid a6989586621680881295) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ToEnum_6989586621680675506Sym0 :: TyFun Nat (Identity a6989586621680675102) -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621680675608Sym0 :: TyFun Nat (Identity a6989586621680675113) -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621679837944Sym0 :: TyFun Nat (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621679838084Sym0 :: TyFun Nat (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262337Sym0 :: TyFun Nat ([a6989586621680260343] ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ListtakeSym0 :: TyFun Nat ([a6989586621680404055] ~> [a6989586621680404055]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ListsplitAtSym0 :: TyFun Nat ([a6989586621680404053] ~> ([a6989586621680404053], [a6989586621680404053])) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ListdropSym0 :: TyFun Nat ([a6989586621680404054] ~> [a6989586621680404054]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TakeSym0 :: TyFun Nat ([a6989586621679939280] ~> [a6989586621679939280]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (SplitAtSym0 :: TyFun Nat ([a6989586621679939278] ~> ([a6989586621679939278], [a6989586621679939278])) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (DropSym0 :: TyFun Nat ([a6989586621679939279] ~> [a6989586621679939279]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280443Sym0 :: TyFun Nat (Maybe a3530822107858468865 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EfdtNatDnSym1 a6989586621679739582 :: TyFun Nat (Nat ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EfdtNatSym1 a6989586621679739696 :: TyFun Nat (Nat ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EfdtNatUpSym1 a6989586621679739639 :: TyFun Nat (Nat ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262298Sym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrecSym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ReplicateSym0 :: TyFun Nat (a6989586621679939264 ~> [a6989586621679939264]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865314Sym0 :: TyFun Nat (Min a6989586621679050961 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865343Sym0 :: TyFun Nat (Max a6989586621679050967 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865372Sym0 :: TyFun Nat (First a6989586621679050981 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865401Sym0 :: TyFun Nat (Last a6989586621679050987 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865430Sym0 :: TyFun Nat (WrappedMonoid m6989586621679050993 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865146Sym0 :: TyFun Nat (Option a6989586621679050999 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680675637Sym0 :: TyFun Nat (Identity a6989586621680675127 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335234Sym0 :: TyFun Nat (First a6989586621679072624 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335263Sym0 :: TyFun Nat (Last a6989586621679072619 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865175Sym0 :: TyFun Nat (Dual a6989586621679072595 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865256Sym0 :: TyFun Nat (Sum a6989586621679072580 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865285Sym0 :: TyFun Nat (Product a6989586621679072585 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280531Sym0 :: TyFun Nat (NonEmpty a6989586621679055391 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ElemIndicesSym0 :: TyFun a6989586621679939290 ([a6989586621679939290] ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ElemIndexSym0 :: TyFun a6989586621679939291 ([a6989586621679939291] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621679739841Sym0 :: TyFun a6989586621679739461 Nat -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnumSym0 :: TyFun a6989586621679739461 Nat -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680881926Sym0 :: TyFun (Min a6989586621680881171) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680882225Sym0 :: TyFun (Max a6989586621680881203) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680882750Sym0 :: TyFun (First a6989586621680881257) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680882978Sym0 :: TyFun (Last a6989586621680881278) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680883162Sym0 :: TyFun (WrappedMonoid a6989586621680881295) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680675796Sym0 :: TyFun (Identity a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680675513Sym0 :: TyFun (Identity a6989586621680675102) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindIndicesSym0 :: TyFun (a6989586621679939288 ~> Bool) ([a6989586621679939288] ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindIndexSym0 :: TyFun (a6989586621679939289 ~> Bool) ([a6989586621679939289] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SingI x => SingI ((<=?@#@$$) x :: TyFun Nat Bool -> Type) | |
Defined in Data.Singletons.TypeLits.Internal Methods sing :: Sing ((<=?@#@$$) x) # | |
| SingI x => SingI (ModSym1 x :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits | |
| SingI x => SingI (DivSym1 x :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits | |
| SingI x => SingI ((^@#@$$) x :: TyFun Nat Nat -> Type) | |
Defined in Data.Singletons.TypeLits.Internal | |
| SingI (ListlengthSym0 :: TyFun [a] Nat -> Type) | |
| SingI (ListindexSym0 :: TyFun [a] (Nat ~> a) -> Type) | |
| SingI (LengthSym0 :: TyFun [a] Nat -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SingI ((!!@#@$) :: TyFun [a] (Nat ~> a) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SingI d => SingI (EftNatSym1 d :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| SNum a => SingI (FromIntegerSym0 :: TyFun Nat a -> Type) | |
Defined in Data.Singletons.Prelude.Num Methods sing :: Sing FromIntegerSym0 # | |
| SEnum a => SingI (ToEnumSym0 :: TyFun Nat a -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods sing :: Sing ToEnumSym0 # | |
| SingI (ListtakeSym0 :: TyFun Nat ([a] ~> [a]) -> Type) | |
| SingI (ListsplitAtSym0 :: TyFun Nat ([a] ~> ([a], [a])) -> Type) | |
| SingI (ListdropSym0 :: TyFun Nat ([a] ~> [a]) -> Type) | |
| SingI (TakeSym0 :: TyFun Nat ([a] ~> [a]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SingI (SplitAtSym0 :: TyFun Nat ([a] ~> ([a], [a])) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing SplitAtSym0 # | |
| SingI (DropSym0 :: TyFun Nat ([a] ~> [a]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SingI d => SingI (EfdtNatDnSym1 d :: TyFun Nat (Nat ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| SingI d => SingI (EfdtNatSym1 d :: TyFun Nat (Nat ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| SingI d => SingI (EfdtNatUpSym1 d :: TyFun Nat (Nat ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| SShow a => SingI (ShowsPrecSym0 :: TyFun Nat (a ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowsPrecSym0 # | |
| SingI (ReplicateSym0 :: TyFun Nat (a ~> [a]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing ReplicateSym0 # | |
| SEq a => SingI (ElemIndicesSym0 :: TyFun a ([a] ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing ElemIndicesSym0 # | |
| SEq a => SingI (ElemIndexSym0 :: TyFun a ([a] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing ElemIndexSym0 # | |
| SEnum a => SingI (FromEnumSym0 :: TyFun a Nat -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods sing :: Sing FromEnumSym0 # | |
| SingI (FindIndicesSym0 :: TyFun (a ~> Bool) ([a] ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing FindIndicesSym0 # | |
| SingI (FindIndexSym0 :: TyFun (a ~> Bool) ([a] ~> Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing FindIndexSym0 # | |
| SuppressUnusedWarnings (FindIndicesSym1 a6989586621679949175 :: TyFun [a6989586621679939288] [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FindIndexSym1 a6989586621679949209 :: TyFun [a6989586621679939289] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ElemIndicesSym1 a6989586621679949201 :: TyFun [a6989586621679939290] [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ElemIndexSym1 a6989586621679949217 :: TyFun [a6989586621679939291] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EfdtNatDnSym2 a6989586621679739583 a6989586621679739582 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EfdtNatSym2 a6989586621679739697 a6989586621679739696 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (EfdtNatUpSym2 a6989586621679739640 a6989586621679739639 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ListindexSym1 a6989586621680404192 :: TyFun Nat a6989586621680404052 -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ((!!@#@$$) a6989586621679948552 :: TyFun Nat a6989586621679939262 -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280497Sym0 :: TyFun Nat (Either a6989586621679073691 b6989586621679073692 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262374Sym0 :: TyFun Nat ((a6989586621680260347, b6989586621680260348) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680882596Sym0 :: TyFun Nat (Arg a6989586621680881245 b6989586621680881246 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SingI d => SingI (FindIndicesSym1 d :: TyFun [a] [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (FindIndicesSym1 d) # | |
| SingI d => SingI (FindIndexSym1 d :: TyFun [a] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (FindIndexSym1 d) # | |
| (SEq a, SingI d) => SingI (ElemIndicesSym1 d :: TyFun [a] [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (ElemIndicesSym1 d) # | |
| (SEq a, SingI d) => SingI (ElemIndexSym1 d :: TyFun [a] (Maybe Nat) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing (ElemIndexSym1 d) # | |
| (SingI d1, SingI d2) => SingI (EfdtNatDnSym2 d1 d2 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| (SingI d1, SingI d2) => SingI (EfdtNatSym2 d1 d2 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| (SingI d1, SingI d2) => SingI (EfdtNatUpSym2 d1 d2 :: TyFun Nat [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.Enum | |
| SingI d => SingI (ListindexSym1 d :: TyFun Nat a -> Type) | |
| SingI d => SingI ((!!@#@$$) d :: TyFun Nat a -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| SuppressUnusedWarnings (ToEnum_6989586621680711020Sym0 :: TyFun Nat (Const a6989586621680710503 b6989586621680710504) -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromInteger_6989586621680711122Sym0 :: TyFun Nat (Const a6989586621680710516 b6989586621680710517) -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262392Sym0 :: TyFun Nat ((a6989586621680260352, b6989586621680260353, c6989586621680260354) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680711151Sym0 :: TyFun Nat (Const a6989586621680710532 b6989586621680710533 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679949181BuildListSym0 :: TyFun k1 (TyFun k2 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680452141Sym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680451974Sym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680451807Sym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680451672Sym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680451478Sym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Length_6989586621680451229Sym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (LengthSym0 :: TyFun (t6989586621680450318 a6989586621680450334) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromEnum_6989586621680711027Sym0 :: TyFun (Const a6989586621680710503 b6989586621680710504) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SFoldable t => SingI (LengthSym0 :: TyFun (t a) Nat -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods sing :: Sing LengthSym0 # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262411Sym0 :: TyFun Nat ((a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679949181BuildListSym1 p6989586621679949179 :: TyFun k1 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679949181BuildListSym2 xs6989586621679949180 p6989586621679949179 b6989586621679939741 :: TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262431Sym0 :: TyFun Nat ((a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679949181BuildListSym3 a6989586621679949182 xs6989586621679949180 p6989586621679949179 b6989586621679939741 :: TyFun [b6989586621679939741] [Nat] -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262452Sym0 :: TyFun Nat ((a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262474Sym0 :: TyFun Nat ((a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| data Sing (n :: Nat) | |
| type Demote Nat | |
Defined in Data.Singletons.TypeLits.Internal | |
| type ToPretty (t :: Nat) | A type of kind Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type Show_ (arg :: Nat) | |
| type FromEnum (a :: Nat) | |
| type ToEnum a | |
| type Pred (a :: Nat) | |
| type Succ (a :: Nat) | |
| type FromInteger a | |
Defined in Data.Singletons.Prelude.Num type FromInteger a = a | |
| type Signum (a :: Nat) | |
Defined in Data.Singletons.Prelude.Num | |
| type Abs (a :: Nat) | |
Defined in Data.Singletons.Prelude.Num | |
| type Negate (a :: Nat) | |
Defined in Data.Singletons.Prelude.Num | |
| type ShowList (arg1 :: [Nat]) arg2 | |
| type EnumFromTo (a1 :: Nat) (a2 :: Nat) | |
| type (a :: Nat) * (b :: Nat) | |
Defined in Data.Singletons.Prelude.Num | |
| type (a :: Nat) - (b :: Nat) | |
Defined in Data.Singletons.Prelude.Num | |
| type (a :: Nat) + (b :: Nat) | |
Defined in Data.Singletons.Prelude.Num | |
| type Min (arg1 :: Nat) (arg2 :: Nat) | |
| type Max (arg1 :: Nat) (arg2 :: Nat) | |
| type (arg1 :: Nat) >= (arg2 :: Nat) | |
| type (arg1 :: Nat) > (arg2 :: Nat) | |
| type (arg1 :: Nat) <= (arg2 :: Nat) | |
| type (arg1 :: Nat) < (arg2 :: Nat) | |
| type Compare (a :: Nat) (b :: Nat) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type (x :: Nat) /= (y :: Nat) | |
| type (x :: Nat) == (y :: Nat) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type ShowsPrec _ (n :: Nat) x | |
Defined in Data.Singletons.Prelude.Show | |
| type EnumFromThenTo (a1 :: Nat) (a2 :: Nat) (a3 :: Nat) | |
| type Apply ToEnum_6989586621679763347Sym0 (a6989586621679763346 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply ToEnum_6989586621679763371Sym0 (a6989586621679763370 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply KnownNatSym0 (n6989586621679467044 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply FromEnum_6989586621679763353Sym0 (a6989586621679763352 :: Bool) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply FromEnum_6989586621679763377Sym0 (a6989586621679763376 :: Ordering) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply Log2Sym0 (a3530822107858468865 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply FromEnum_6989586621679763394Sym0 (a6989586621679763393 :: ()) | |
Defined in Data.Singletons.Prelude.Enum type Apply FromEnum_6989586621679763394Sym0 (a6989586621679763393 :: ()) = FromEnum_6989586621679763394 a6989586621679763393 | |
| type Apply ToEnum_6989586621679763388Sym0 (a6989586621679763387 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply ((<=?@#@$$) a3530822107858468865 :: TyFun Nat Bool -> Type) (b3530822107858468866 :: Nat) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type Apply (RemSym1 a6989586621679486524 :: TyFun Nat Nat -> Type) (a6989586621679486525 :: Nat) | |
| type Apply (QuotSym1 a6989586621679486534 :: TyFun Nat Nat -> Type) (a6989586621679486535 :: Nat) | |
| type Apply (ModSym1 a3530822107858468865 :: TyFun Nat Nat -> Type) (b3530822107858468866 :: Nat) | |
| type Apply (DivSym1 a3530822107858468865 :: TyFun Nat Nat -> Type) (b3530822107858468866 :: Nat) | |
| type Apply ((^@#@$$) a3530822107858468865 :: TyFun Nat Nat -> Type) (b3530822107858468866 :: Nat) | |
| type Apply (FromEnumSym0 :: TyFun a Nat -> Type) (arg6989586621679739751 :: a) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply (FromEnum_6989586621679739841Sym0 :: TyFun a Nat -> Type) (a6989586621679739840 :: a) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply (FromIntegerSym0 :: TyFun Nat k2 -> Type) (arg6989586621679505057 :: Nat) | |
Defined in Data.Singletons.Prelude.Num type Apply (FromIntegerSym0 :: TyFun Nat k2 -> Type) (arg6989586621679505057 :: Nat) = (FromInteger arg6989586621679505057 :: k2) | |
| type Apply (FromInteger_6989586621679505158Sym0 :: TyFun Nat k2 -> Type) (a6989586621679505157 :: Nat) | |
| type Apply (ToEnumSym0 :: TyFun Nat k2 -> Type) (arg6989586621679739749 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply (ToEnum_6989586621679739834Sym0 :: TyFun Nat k2 -> Type) (a6989586621679739833 :: Nat) | |
| type Apply (ListindexSym1 a6989586621680404192 :: TyFun Nat a -> Type) (a6989586621680404193 :: Nat) | |
| type Apply ((!!@#@$$) a6989586621679948552 :: TyFun Nat a -> Type) (a6989586621679948553 :: Nat) | |
| type Check (NatLE n :: TyFun Nat (Maybe ErrorMessage) -> Type) (x :: Nat) Source # | |
| type Check (NatGE n :: TyFun Nat (Maybe ErrorMessage) -> Type) (x :: Nat) Source # | |
| type Apply (ListlengthSym0 :: TyFun [a] Nat -> Type) (a6989586621680404185 :: [a]) | |
| type Apply (LengthSym0 :: TyFun [a] Nat -> Type) (a6989586621679948578 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (FromEnum_6989586621680881926Sym0 :: TyFun (Min a) Nat -> Type) (a6989586621680881925 :: Min a) | |
| type Apply (FromEnum_6989586621680882225Sym0 :: TyFun (Max a) Nat -> Type) (a6989586621680882224 :: Max a) | |
| type Apply (FromEnum_6989586621680882750Sym0 :: TyFun (First a) Nat -> Type) (a6989586621680882749 :: First a) | |
| type Apply (FromEnum_6989586621680882978Sym0 :: TyFun (Last a) Nat -> Type) (a6989586621680882977 :: Last a) | |
| type Apply (FromEnum_6989586621680883162Sym0 :: TyFun (WrappedMonoid a) Nat -> Type) (a6989586621680883161 :: WrappedMonoid a) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (FromEnum_6989586621680883162Sym0 :: TyFun (WrappedMonoid a) Nat -> Type) (a6989586621680883161 :: WrappedMonoid a) = FromEnum_6989586621680883162 a6989586621680883161 | |
| type Apply (FromEnum_6989586621680675513Sym0 :: TyFun (Identity a) Nat -> Type) (a6989586621680675512 :: Identity a) | |
| type Apply (Length_6989586621680675796Sym0 :: TyFun (Identity a) Nat -> Type) (a6989586621680675795 :: Identity a) | |
| type Apply (Length_6989586621680451478Sym0 :: TyFun (t a) Nat -> Type) (a6989586621680451477 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Length_6989586621680451229Sym0 :: TyFun (t a) Nat -> Type) (a6989586621680451228 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (LengthSym0 :: TyFun (t a) Nat -> Type) (arg6989586621680450983 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Length_6989586621680451672Sym0 :: TyFun (t a) Nat -> Type) (a6989586621680451671 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Length_6989586621680451807Sym0 :: TyFun (t a) Nat -> Type) (a6989586621680451806 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Length_6989586621680451974Sym0 :: TyFun (t a) Nat -> Type) (a6989586621680451973 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Length_6989586621680452141Sym0 :: TyFun (t a) Nat -> Type) (a6989586621680452140 :: t a) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type ToFunction BitBuilder (Proxy (f :=. v)) r Source # | |
| type ToFunction BitBuilder (Proxy (MkField MkFieldU8)) a Source # | |
| type ToFunction BitBuilder (Proxy (MkField MkFieldU16)) a Source # | |
| type ToFunction BitBuilder (Proxy (MkField MkFieldU32)) a Source # | |
| type ToFunction BitBuilder (Proxy (MkField MkFieldU64)) a Source # | |
| type ToFunction BitBuilder (Proxy (f := v)) r Source # | |
| type ToFunction BitBuilder (Proxy (MkField (MkFieldBits :: BitField (B s) Nat s))) a Source # | |
| type ToFunction BitBuilder (Proxy MkFieldU32) a Source # | |
| type Check (NatIn from to :: TyFun Nat (Maybe ErrorMessage) -> Type) (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Assert | |
| type Apply (FromEnum_6989586621680711027Sym0 :: TyFun (Const a b) Nat -> Type) (a6989586621680711026 :: Const a b) | |
| type InRange Word8 (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type InRange Word16 (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type InRange Nat (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type InRange Byte (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type InRange Bit (n :: Nat) Source # | |
| type Pretty Word8 (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type Pretty Word16 (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type Pretty Nat (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type Pretty Byte (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type Pretty Bit (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type PrettySeperator Word8 (typeLit :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type PrettySeperator Word16 (typeLit :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type PrettySeperator Nat (typeLit :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type PrettySeperator Byte (typeLit :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type PrettySeperator Bit (_ :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type SizeOf Word8 (_ :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type SizeOf Word16 (_ :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type SizeOf Nat (x :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type SizeOf Byte (_ :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type SizeOf Bit (_ :: Nat) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type Apply (EftNatSym1 a6989586621679739714 :: TyFun Nat [Nat] -> Type) (a6989586621679739715 :: Nat) | |
| type Apply (ToEnum_6989586621680881919Sym0 :: TyFun Nat (Min a6989586621680881171) -> Type) (a6989586621680881918 :: Nat) | |
| type Apply (FromInteger_6989586621680882094Sym0 :: TyFun Nat (Min a6989586621680881186) -> Type) (a6989586621680882093 :: Nat) | |
| type Apply (ToEnum_6989586621680882218Sym0 :: TyFun Nat (Max a6989586621680881203) -> Type) (a6989586621680882217 :: Nat) | |
| type Apply (FromInteger_6989586621680882393Sym0 :: TyFun Nat (Max a6989586621680881218) -> Type) (a6989586621680882392 :: Nat) | |
| type Apply (ToEnum_6989586621680882743Sym0 :: TyFun Nat (First a6989586621680881257) -> Type) (a6989586621680882742 :: Nat) | |
| type Apply (ToEnum_6989586621680882971Sym0 :: TyFun Nat (Last a6989586621680881278) -> Type) (a6989586621680882970 :: Nat) | |
| type Apply (ToEnum_6989586621680883155Sym0 :: TyFun Nat (WrappedMonoid a6989586621680881295) -> Type) (a6989586621680883154 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ToEnum_6989586621680883155Sym0 :: TyFun Nat (WrappedMonoid a6989586621680881295) -> Type) (a6989586621680883154 :: Nat) = (ToEnum_6989586621680883155 a6989586621680883154 :: WrappedMonoid a6989586621680881295) | |
| type Apply (ToEnum_6989586621680675506Sym0 :: TyFun Nat (Identity a6989586621680675102) -> Type) (a6989586621680675505 :: Nat) | |
| type Apply (FromInteger_6989586621680675608Sym0 :: TyFun Nat (Identity a6989586621680675113) -> Type) (a6989586621680675607 :: Nat) | |
| type Apply (FromInteger_6989586621679837944Sym0 :: TyFun Nat (Sum a6989586621679837584) -> Type) (a6989586621679837943 :: Nat) | |
| type Apply (FromInteger_6989586621679838084Sym0 :: TyFun Nat (Product a6989586621679837602) -> Type) (a6989586621679838083 :: Nat) | |
| type Apply (EfdtNatDnSym2 a6989586621679739583 a6989586621679739582 :: TyFun Nat [Nat] -> Type) (a6989586621679739584 :: Nat) | |
| type Apply (EfdtNatSym2 a6989586621679739697 a6989586621679739696 :: TyFun Nat [Nat] -> Type) (a6989586621679739698 :: Nat) | |
| type Apply (EfdtNatUpSym2 a6989586621679739640 a6989586621679739639 :: TyFun Nat [Nat] -> Type) (a6989586621679739641 :: Nat) | |
| type Apply (FindIndicesSym1 a6989586621679949175 :: TyFun [a] [Nat] -> Type) (a6989586621679949176 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (FindIndicesSym1 a6989586621679949175 :: TyFun [a] [Nat] -> Type) (a6989586621679949176 :: [a]) = FindIndices a6989586621679949175 a6989586621679949176 | |
| type Apply (ElemIndicesSym1 a6989586621679949201 :: TyFun [a] [Nat] -> Type) (a6989586621679949202 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (ElemIndicesSym1 a6989586621679949201 :: TyFun [a] [Nat] -> Type) (a6989586621679949202 :: [a]) = ElemIndices a6989586621679949201 a6989586621679949202 | |
| type Apply (FindIndexSym1 a6989586621679949209 :: TyFun [a] (Maybe Nat) -> Type) (a6989586621679949210 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (ElemIndexSym1 a6989586621679949217 :: TyFun [a] (Maybe Nat) -> Type) (a6989586621679949218 :: [a]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (Let6989586621679949181BuildListSym3 a6989586621679949182 xs6989586621679949180 p6989586621679949179 b6989586621679939741 :: TyFun [b6989586621679939741] [Nat] -> Type) (a6989586621679949183 :: [b6989586621679939741]) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (Let6989586621679949181BuildListSym3 a6989586621679949182 xs6989586621679949180 p6989586621679949179 b6989586621679939741 :: TyFun [b6989586621679939741] [Nat] -> Type) (a6989586621679949183 :: [b6989586621679939741]) = Let6989586621679949181BuildList a6989586621679949182 xs6989586621679949180 p6989586621679949179 a6989586621679949183 | |
| type Apply ShowsPrec_6989586621680280557Sym0 (a6989586621680280554 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680280584Sym0 (a6989586621680280581 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (<=?@#@$) (a3530822107858468865 :: Nat) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type Apply EftNatSym0 (a6989586621679739714 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply RemSym0 (a6989586621679486524 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply QuotSym0 (a6989586621679486534 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply ModSym0 (a3530822107858468865 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply DivSym0 (a3530822107858468865 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply (^@#@$) (a3530822107858468865 :: Nat) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type Apply DivModSym0 (a6989586621679486540 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply QuotRemSym0 (a6989586621679486550 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply EfdtNatDnSym0 (a6989586621679739582 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply EfdtNatSym0 (a6989586621679739696 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply EfdtNatUpSym0 (a6989586621679739639 :: Nat) | |
Defined in Data.Singletons.Prelude.Enum | |
| type Apply ShowsNatSym0 (a6989586621680279794 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680262357Sym0 (a6989586621680262354 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680280406Sym0 (a6989586621680280403 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680280612Sym0 (a6989586621680280609 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680865201Sym0 (a6989586621680865198 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply ShowsPrec_6989586621680865227Sym0 (a6989586621680865224 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (DivModSym1 a6989586621679486540 :: TyFun Nat (Nat, Nat) -> Type) (a6989586621679486541 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply (QuotRemSym1 a6989586621679486550 :: TyFun Nat (Nat, Nat) -> Type) (a6989586621679486551 :: Nat) | |
Defined in Data.Singletons.TypeLits | |
| type Apply (ShowsPrec_6989586621680262337Sym0 :: TyFun Nat ([a6989586621680260343] ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262334 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ListsplitAtSym0 :: TyFun Nat ([a6989586621680404053] ~> ([a6989586621680404053], [a6989586621680404053])) -> Type) (a6989586621680404202 :: Nat) | |
Defined in Data.Singletons.Prelude.List.Internal.Disambiguation type Apply (ListsplitAtSym0 :: TyFun Nat ([a6989586621680404053] ~> ([a6989586621680404053], [a6989586621680404053])) -> Type) (a6989586621680404202 :: Nat) = (ListsplitAtSym1 a6989586621680404202 a6989586621680404053 :: TyFun [a6989586621680404053] ([a6989586621680404053], [a6989586621680404053]) -> Type) | |
| type Apply (ListdropSym0 :: TyFun Nat ([a6989586621680404054] ~> [a6989586621680404054]) -> Type) (a6989586621680404212 :: Nat) | |
| type Apply (ListtakeSym0 :: TyFun Nat ([a6989586621680404055] ~> [a6989586621680404055]) -> Type) (a6989586621680404222 :: Nat) | |
| type Apply (DropSym0 :: TyFun Nat ([a6989586621679939279] ~> [a6989586621679939279]) -> Type) (a6989586621679948648 :: Nat) | |
| type Apply (TakeSym0 :: TyFun Nat ([a6989586621679939280] ~> [a6989586621679939280]) -> Type) (a6989586621679948662 :: Nat) | |
| type Apply (SplitAtSym0 :: TyFun Nat ([a6989586621679939278] ~> ([a6989586621679939278], [a6989586621679939278])) -> Type) (a6989586621679948676 :: Nat) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (SplitAtSym0 :: TyFun Nat ([a6989586621679939278] ~> ([a6989586621679939278], [a6989586621679939278])) -> Type) (a6989586621679948676 :: Nat) = (SplitAtSym1 a6989586621679948676 a6989586621679939278 :: TyFun [a6989586621679939278] ([a6989586621679939278], [a6989586621679939278]) -> Type) | |
| type Apply (ElemIndicesSym0 :: TyFun a6989586621679939290 ([a6989586621679939290] ~> [Nat]) -> Type) (a6989586621679949201 :: a6989586621679939290) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (ElemIndicesSym0 :: TyFun a6989586621679939290 ([a6989586621679939290] ~> [Nat]) -> Type) (a6989586621679949201 :: a6989586621679939290) = ElemIndicesSym1 a6989586621679949201 | |
| type Apply (ElemIndexSym0 :: TyFun a6989586621679939291 ([a6989586621679939291] ~> Maybe Nat) -> Type) (a6989586621679949217 :: a6989586621679939291) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (ElemIndexSym0 :: TyFun a6989586621679939291 ([a6989586621679939291] ~> Maybe Nat) -> Type) (a6989586621679949217 :: a6989586621679939291) = ElemIndexSym1 a6989586621679949217 | |
| type Apply (ShowsPrec_6989586621680280443Sym0 :: TyFun Nat (Maybe a3530822107858468865 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280440 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (EfdtNatDnSym1 a6989586621679739582 :: TyFun Nat (Nat ~> [Nat]) -> Type) (a6989586621679739583 :: Nat) | |
| type Apply (EfdtNatSym1 a6989586621679739696 :: TyFun Nat (Nat ~> [Nat]) -> Type) (a6989586621679739697 :: Nat) | |
| type Apply (EfdtNatUpSym1 a6989586621679739639 :: TyFun Nat (Nat ~> [Nat]) -> Type) (a6989586621679739640 :: Nat) | |
| type Apply (ShowsPrec_6989586621680262298Sym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262295 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrecSym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) (arg6989586621680262275 :: Nat) | |
| type Apply (ReplicateSym0 :: TyFun Nat (a6989586621679939264 ~> [a6989586621679939264]) -> Type) (a6989586621679948566 :: Nat) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (ReplicateSym0 :: TyFun Nat (a6989586621679939264 ~> [a6989586621679939264]) -> Type) (a6989586621679948566 :: Nat) = (ReplicateSym1 a6989586621679948566 a6989586621679939264 :: TyFun a6989586621679939264 [a6989586621679939264] -> Type) | |
| type Apply (ShowsPrec_6989586621680865314Sym0 :: TyFun Nat (Min a6989586621679050961 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865311 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865343Sym0 :: TyFun Nat (Max a6989586621679050967 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865340 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865372Sym0 :: TyFun Nat (First a6989586621679050981 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865369 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865401Sym0 :: TyFun Nat (Last a6989586621679050987 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865398 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865430Sym0 :: TyFun Nat (WrappedMonoid m6989586621679050993 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865427 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ShowsPrec_6989586621680865430Sym0 :: TyFun Nat (WrappedMonoid m6989586621679050993 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865427 :: Nat) = (ShowsPrec_6989586621680865430Sym1 a6989586621680865427 m6989586621679050993 :: TyFun (WrappedMonoid m6989586621679050993) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680865146Sym0 :: TyFun Nat (Option a6989586621679050999 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865143 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680675637Sym0 :: TyFun Nat (Identity a6989586621680675127 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680675634 :: Nat) | |
Defined in Data.Singletons.Prelude.Identity | |
| type Apply (ShowsPrec_6989586621680335234Sym0 :: TyFun Nat (First a6989586621679072624 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680335231 :: Nat) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680335263Sym0 :: TyFun Nat (Last a6989586621679072619 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680335260 :: Nat) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680865175Sym0 :: TyFun Nat (Dual a6989586621679072595 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865172 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865256Sym0 :: TyFun Nat (Sum a6989586621679072580 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865253 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865285Sym0 :: TyFun Nat (Product a6989586621679072585 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865282 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680280531Sym0 :: TyFun Nat (NonEmpty a6989586621679055391 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280528 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrec_6989586621680280497Sym0 :: TyFun Nat (Either a6989586621679073691 b6989586621679073692 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280494 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680280497Sym0 :: TyFun Nat (Either a6989586621679073691 b6989586621679073692 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280494 :: Nat) = (ShowsPrec_6989586621680280497Sym1 a6989586621680280494 a6989586621679073691 b6989586621679073692 :: TyFun (Either a6989586621679073691 b6989586621679073692) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680262374Sym0 :: TyFun Nat ((a6989586621680260347, b6989586621680260348) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262371 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262374Sym0 :: TyFun Nat ((a6989586621680260347, b6989586621680260348) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262371 :: Nat) = (ShowsPrec_6989586621680262374Sym1 a6989586621680262371 a6989586621680260347 b6989586621680260348 :: TyFun (a6989586621680260347, b6989586621680260348) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680882596Sym0 :: TyFun Nat (Arg a6989586621680881245 b6989586621680881246 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680882593 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ShowsPrec_6989586621680882596Sym0 :: TyFun Nat (Arg a6989586621680881245 b6989586621680881246 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680882593 :: Nat) = (ShowsPrec_6989586621680882596Sym1 a6989586621680882593 a6989586621680881245 b6989586621680881246 :: TyFun (Arg a6989586621680881245 b6989586621680881246) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621679949181BuildListSym0 :: TyFun k1 (TyFun k2 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) -> Type) (p6989586621679949179 :: k1) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (Let6989586621679949181BuildListSym0 :: TyFun k1 (TyFun k2 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) -> Type) (p6989586621679949179 :: k1) = (Let6989586621679949181BuildListSym1 p6989586621679949179 :: TyFun k2 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) | |
| type Apply (ShowsPrec_6989586621680262392Sym0 :: TyFun Nat ((a6989586621680260352, b6989586621680260353, c6989586621680260354) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262389 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262392Sym0 :: TyFun Nat ((a6989586621680260352, b6989586621680260353, c6989586621680260354) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262389 :: Nat) = (ShowsPrec_6989586621680262392Sym1 a6989586621680262389 a6989586621680260352 b6989586621680260353 c6989586621680260354 :: TyFun (a6989586621680260352, b6989586621680260353, c6989586621680260354) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680711151Sym0 :: TyFun Nat (Const a6989586621680710532 b6989586621680710533 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680711148 :: Nat) | |
Defined in Data.Singletons.Prelude.Const type Apply (ShowsPrec_6989586621680711151Sym0 :: TyFun Nat (Const a6989586621680710532 b6989586621680710533 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680711148 :: Nat) = (ShowsPrec_6989586621680711151Sym1 a6989586621680711148 a6989586621680710532 b6989586621680710533 :: TyFun (Const a6989586621680710532 b6989586621680710533) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621679949181BuildListSym1 p6989586621679949179 :: TyFun k1 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) (xs6989586621679949180 :: k1) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (Let6989586621679949181BuildListSym1 p6989586621679949179 :: TyFun k1 (TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) -> Type) (xs6989586621679949180 :: k1) = (Let6989586621679949181BuildListSym2 p6989586621679949179 xs6989586621679949180 b6989586621679939741 :: TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) | |
| type Apply (ShowsPrec_6989586621680262411Sym0 :: TyFun Nat ((a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262408 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262411Sym0 :: TyFun Nat ((a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262408 :: Nat) = (ShowsPrec_6989586621680262411Sym1 a6989586621680262408 a6989586621680260359 b6989586621680260360 c6989586621680260361 d6989586621680260362 :: TyFun (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621679949181BuildListSym2 xs6989586621679949180 p6989586621679949179 b6989586621679939741 :: TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) (a6989586621679949182 :: Nat) | |
Defined in Data.Singletons.Prelude.List.Internal type Apply (Let6989586621679949181BuildListSym2 xs6989586621679949180 p6989586621679949179 b6989586621679939741 :: TyFun Nat ([b6989586621679939741] ~> [Nat]) -> Type) (a6989586621679949182 :: Nat) = (Let6989586621679949181BuildListSym3 xs6989586621679949180 p6989586621679949179 a6989586621679949182 b6989586621679939741 :: TyFun [b6989586621679939741] [Nat] -> Type) | |
| type Apply (ShowsPrec_6989586621680262431Sym0 :: TyFun Nat ((a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262428 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262431Sym0 :: TyFun Nat ((a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262428 :: Nat) = (ShowsPrec_6989586621680262431Sym1 a6989586621680262428 a6989586621680260368 b6989586621680260369 c6989586621680260370 d6989586621680260371 e6989586621680260372 :: TyFun (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680262452Sym0 :: TyFun Nat ((a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262449 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262452Sym0 :: TyFun Nat ((a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262449 :: Nat) = (ShowsPrec_6989586621680262452Sym1 a6989586621680262449 a6989586621680260379 b6989586621680260380 c6989586621680260381 d6989586621680260382 e6989586621680260383 f6989586621680260384 :: TyFun (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680262474Sym0 :: TyFun Nat ((a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262471 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262474Sym0 :: TyFun Nat ((a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262471 :: Nat) = (ShowsPrec_6989586621680262474Sym1 a6989586621680262471 a6989586621680260392 b6989586621680260393 c6989586621680260394 d6989586621680260395 e6989586621680260396 f6989586621680260397 g6989586621680260398 :: TyFun (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) (Symbol ~> Symbol) -> Type) | |
| type Apply (ListindexSym0 :: TyFun [a6989586621680404052] (Nat ~> a6989586621680404052) -> Type) (a6989586621680404192 :: [a6989586621680404052]) | |
| type Apply ((!!@#@$) :: TyFun [a6989586621679939262] (Nat ~> a6989586621679939262) -> Type) (a6989586621679948552 :: [a6989586621679939262]) | |
| type Apply (FindIndicesSym0 :: TyFun (a6989586621679939288 ~> Bool) ([a6989586621679939288] ~> [Nat]) -> Type) (a6989586621679949175 :: a6989586621679939288 ~> Bool) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (FindIndexSym0 :: TyFun (a6989586621679939289 ~> Bool) ([a6989586621679939289] ~> Maybe Nat) -> Type) (a6989586621679949209 :: a6989586621679939289 ~> Bool) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (ToEnum_6989586621680711020Sym0 :: TyFun Nat (Const a6989586621680710503 b6989586621680710504) -> Type) (a6989586621680711019 :: Nat) | |
| type Apply (FromInteger_6989586621680711122Sym0 :: TyFun Nat (Const a6989586621680710516 b6989586621680710517) -> Type) (a6989586621680711121 :: Nat) | |
(Kind) This is the kind of type-level symbols. Declared here because class IP needs it
Instances
| SingKind Symbol | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
| PIsString Symbol | |
Defined in Data.Singletons.Prelude.IsString Associated Types type FromString arg :: a # | |
| SIsString Symbol | |
Defined in Data.Singletons.Prelude.IsString Methods sFromString :: Sing t -> Sing (Apply FromStringSym0 t) # | |
| PMonoid Symbol | |
| SMonoid Symbol | |
Defined in Data.Singletons.Prelude.Monoid | |
| PShow Symbol | |
| SShow Symbol | |
| PSemigroup Symbol | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SSemigroup Symbol | |
| IsBox ChunkOffsetTable64 Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset Associated Types type BoxContent ChunkOffsetTable64 :: Type Source # Methods toBoxType :: proxy ChunkOffsetTable64 -> BoxType Source # | |
| IsBox ChunkOffsetTable32 Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset Associated Types type BoxContent ChunkOffsetTable32 :: Type Source # Methods toBoxType :: proxy ChunkOffsetTable32 -> BoxType Source # | |
| KnownSymbol a => SingI (a :: Symbol) | Since: base-4.9.0.0 |
Defined in GHC.Generics Methods sing :: Sing a | |
| KnownSymbol str => FromTypeLit Text (str :: Symbol) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.BoxFields Methods fromTypeLit :: proxy Text str -> Text Source # | |
| KnownSymbol str => FromTypeLit (U32Text label) (str :: Symbol) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.BoxFields Methods fromTypeLit :: proxy (U32Text label) str -> U32Text label Source # | |
| (KnownSymbol label, SingI arr, Num o, SingKind [Nat], KnownNat len, len ~ Length arr) => FromTypeLit (ScalarArray label len o) (arr :: [Nat]) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.BoxFields Methods fromTypeLit :: proxy (ScalarArray label len o) arr -> ScalarArray label len o Source # | |
| SuppressUnusedWarnings ShowParenSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings UnwordsSym0 | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings UnlinesSym0 | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings Show_tupleSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280557Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280584Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsNatSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680262357Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280406Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680280612Sym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680865201Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680865227Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings KnownSymbolSym0 | |
Defined in Data.Singletons.TypeLits Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowSpaceSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowCommaSpaceSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowStringSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowCharSym0 | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SingI ShowParenSym0 | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowParenSym0 # | |
| SingI UnwordsSym0 | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing UnwordsSym0 # | |
| SingI UnlinesSym0 | |
Defined in Data.Singletons.Prelude.List.Internal Methods sing :: Sing UnlinesSym0 # | |
| SingI Show_tupleSym0 | |
Defined in Data.Singletons.Prelude.Show | |
| SingI ShowSpaceSym0 | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowSpaceSym0 # | |
| SingI ShowCommaSpaceSym0 | |
Defined in Data.Singletons.Prelude.Show Methods | |
| SingI ShowStringSym0 | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowStringSym0 # | |
| SingI ShowCharSym0 | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowCharSym0 # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280557Sym1 a6989586621680280554 :: TyFun Bool (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowList_6989586621680262318Sym0 :: TyFun [a6989586621680260325] (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowListSym0 :: TyFun [a6989586621680260325] (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280584Sym1 a6989586621680280581 :: TyFun Ordering (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262337Sym0 :: TyFun Nat ([a6989586621680260343] ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280443Sym0 :: TyFun Nat (Maybe a3530822107858468865 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262298Sym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrecSym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865314Sym0 :: TyFun Nat (Min a6989586621679050961 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865343Sym0 :: TyFun Nat (Max a6989586621679050967 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865372Sym0 :: TyFun Nat (First a6989586621679050981 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865401Sym0 :: TyFun Nat (Last a6989586621679050987 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865430Sym0 :: TyFun Nat (WrappedMonoid m6989586621679050993 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865146Sym0 :: TyFun Nat (Option a6989586621679050999 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680675637Sym0 :: TyFun Nat (Identity a6989586621680675127 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335234Sym0 :: TyFun Nat (First a6989586621679072624 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335263Sym0 :: TyFun Nat (Last a6989586621679072619 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865175Sym0 :: TyFun Nat (Dual a6989586621679072595 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865256Sym0 :: TyFun Nat (Sum a6989586621679072580 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865285Sym0 :: TyFun Nat (Product a6989586621679072585 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280531Sym0 :: TyFun Nat (NonEmpty a6989586621679055391 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fail_6989586621679607690Sym0 :: TyFun Symbol [a6989586621679544294] -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fail_6989586621679607625Sym0 :: TyFun Symbol (Maybe a6989586621679544294) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowStringSym1 a6989586621680262194 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowCharSym1 a6989586621680262209 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Show_tupleSym1 a6989586621680262229 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsNatSym1 a6989586621680279794 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromStringSym0 :: TyFun Symbol a6989586621681196250 -> Type) | |
Defined in Data.Singletons.Prelude.IsString Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromString_6989586621681196299Sym0 :: TyFun Symbol (Identity a6989586621681196255) -> Type) | |
Defined in Data.Singletons.Prelude.IsString Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262357Sym1 a6989586621680262354 :: TyFun Symbol (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280406Sym1 a6989586621680280403 :: TyFun () (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsSym0 :: TyFun a6989586621680260310 (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Show__6989586621680262307Sym0 :: TyFun a6989586621680260325 Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Show_Sym0 :: TyFun a6989586621680260325 Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680262184Sym0 :: TyFun k (TyFun Symbol Symbol -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280612Sym1 a6989586621680280609 :: TyFun Void (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865201Sym1 a6989586621680865198 :: TyFun All (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865227Sym1 a6989586621680865224 :: TyFun Any (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowParenSym1 a6989586621680262215 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowListWithSym0 :: TyFun (a6989586621680260309 ~> (Symbol ~> Symbol)) ([a6989586621680260309] ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SShow a => SingI (ShowListSym0 :: TyFun [a] (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowListSym0 # | |
| SShow a => SingI (ShowsPrecSym0 :: TyFun Nat (a ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing ShowsPrecSym0 # | |
| SingI d => SingI (ShowStringSym1 d :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowStringSym1 d) # | |
| SingI d => SingI (ShowCharSym1 d :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowCharSym1 d) # | |
| SingI d => SingI (Show_tupleSym1 d :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show | |
| SIsString a => SingI (FromStringSym0 :: TyFun Symbol a -> Type) | |
Defined in Data.Singletons.Prelude.IsString Methods sing :: Sing FromStringSym0 # | |
| SShow a => SingI (ShowsSym0 :: TyFun a (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show | |
| SShow a => SingI (Show_Sym0 :: TyFun a Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show | |
| SingI d => SingI (ShowParenSym1 d :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowParenSym1 d) # | |
| SingI (ShowListWithSym0 :: TyFun (a ~> (Symbol ~> Symbol)) ([a] ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262337Sym1 a6989586621680262334 a6989586621680260343 :: TyFun [a6989586621680260343] (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowListWithSym1 a6989586621680262247 :: TyFun [a6989586621680260309] (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280443Sym1 a6989586621680280440 a3530822107858468865 :: TyFun (Maybe a3530822107858468865) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280497Sym0 :: TyFun Nat (Either a6989586621679073691 b6989586621679073692 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262374Sym0 :: TyFun Nat ((a6989586621680260347, b6989586621680260348) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680882596Sym0 :: TyFun Nat (Arg a6989586621680881245 b6989586621680881246 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowParenSym2 a6989586621680262216 a6989586621680262215 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsSym1 a6989586621680262267 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowListSym1 arg6989586621680262283 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowList_6989586621680262318Sym1 a6989586621680262316 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262357Sym2 a6989586621680262355 a6989586621680262354 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280406Sym2 a6989586621680280404 a6989586621680280403 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280557Sym2 a6989586621680280555 a6989586621680280554 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280584Sym2 a6989586621680280582 a6989586621680280581 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280612Sym2 a6989586621680280610 a6989586621680280609 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865201Sym2 a6989586621680865199 a6989586621680865198 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865227Sym2 a6989586621680865225 a6989586621680865224 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680262184Sym1 a_69895866216802621796989586621680262183 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262298Sym1 a6989586621680262295 a6989586621680260325 :: TyFun a6989586621680260325 (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrecSym1 arg6989586621680262275 a6989586621680260325 :: TyFun a6989586621680260325 (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679948974GoSym0 :: TyFun k1 (TyFun k2 (TyFun [Symbol] Symbol -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865314Sym1 a6989586621680865311 a6989586621679050961 :: TyFun (Min a6989586621679050961) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865343Sym1 a6989586621680865340 a6989586621679050967 :: TyFun (Max a6989586621679050967) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865372Sym1 a6989586621680865369 a6989586621679050981 :: TyFun (First a6989586621679050981) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865401Sym1 a6989586621680865398 a6989586621679050987 :: TyFun (Last a6989586621679050987) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865430Sym1 a6989586621680865427 m6989586621679050993 :: TyFun (WrappedMonoid m6989586621679050993) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865146Sym1 a6989586621680865143 a6989586621679050999 :: TyFun (Option a6989586621679050999) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680675637Sym1 a6989586621680675634 a6989586621680675127 :: TyFun (Identity a6989586621680675127) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335234Sym1 a6989586621680335231 a6989586621679072624 :: TyFun (First a6989586621679072624) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335263Sym1 a6989586621680335260 a6989586621679072619 :: TyFun (Last a6989586621679072619) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865175Sym1 a6989586621680865172 a6989586621679072595 :: TyFun (Dual a6989586621679072595) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865256Sym1 a6989586621680865253 a6989586621679072580 :: TyFun (Sum a6989586621679072580) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865285Sym1 a6989586621680865282 a6989586621679072585 :: TyFun (Product a6989586621679072585) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280531Sym1 a6989586621680280528 a6989586621679055391 :: TyFun (NonEmpty a6989586621679055391) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SingI d => SingI (ShowListWithSym1 d :: TyFun [a] (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowListWithSym1 d) # | |
| (SingI d1, SingI d2) => SingI (ShowParenSym2 d1 d2 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowParenSym2 d1 d2) # | |
| (SShow a, SingI d) => SingI (ShowsSym1 d :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show | |
| (SShow a, SingI d) => SingI (ShowListSym1 d :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowListSym1 d) # | |
| SingI (ErrorWithoutStackTraceSym0 :: TyFun Symbol a -> Type) | |
Defined in Data.Singletons.TypeLits.Internal Methods | |
| SingI (ErrorSym0 :: TyFun Symbol a -> Type) | |
Defined in Data.Singletons.TypeLits.Internal | |
| (SShow a, SingI d) => SingI (ShowsPrecSym1 d a :: TyFun a (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowsPrecSym1 d a) # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280497Sym1 a6989586621680280494 a6989586621679073691 b6989586621679073692 :: TyFun (Either a6989586621679073691 b6989586621679073692) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262392Sym0 :: TyFun Nat ((a6989586621680260352, b6989586621680260353, c6989586621680260354) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680711151Sym0 :: TyFun Nat (Const a6989586621680710532 b6989586621680710533 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowListWithSym2 a6989586621680262248 a6989586621680262247 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrecSym2 arg6989586621680262276 arg6989586621680262275 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680675637Sym2 a6989586621680675635 a6989586621680675634 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Identity Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335234Sym2 a6989586621680335232 a6989586621680335231 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335263Sym2 a6989586621680335261 a6989586621680335260 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262298Sym2 a6989586621680262296 a6989586621680262295 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262337Sym2 a6989586621680262335 a6989586621680262334 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280443Sym2 a6989586621680280441 a6989586621680280440 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280531Sym2 a6989586621680280529 a6989586621680280528 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865146Sym2 a6989586621680865144 a6989586621680865143 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865175Sym2 a6989586621680865173 a6989586621680865172 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865256Sym2 a6989586621680865254 a6989586621680865253 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865285Sym2 a6989586621680865283 a6989586621680865282 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865314Sym2 a6989586621680865312 a6989586621680865311 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865343Sym2 a6989586621680865341 a6989586621680865340 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865372Sym2 a6989586621680865370 a6989586621680865369 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865401Sym2 a6989586621680865399 a6989586621680865398 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865430Sym2 a6989586621680865428 a6989586621680865427 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fail_6989586621679544807Sym0 :: TyFun Symbol (m6989586621679544288 a6989586621679544294) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FailSym0 :: TyFun Symbol (m6989586621679544288 a6989586621679544294) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FromString_6989586621681196292Sym0 :: TyFun Symbol (Const a6989586621681196252 b6989586621681196253) -> Type) | |
Defined in Data.Singletons.Prelude.IsString Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262374Sym1 a6989586621680262371 a6989586621680260347 b6989586621680260348 :: TyFun (a6989586621680260347, b6989586621680260348) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621679948974GoSym1 w6989586621679948972 :: TyFun k1 (TyFun [Symbol] Symbol -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680882596Sym1 a6989586621680882593 a6989586621680881245 b6989586621680881246 :: TyFun (Arg a6989586621680881245 b6989586621680881246) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680262258ShowlSym0 :: TyFun (k3 ~> (Symbol ~> Symbol)) (TyFun k1 (TyFun k2 (TyFun Symbol (TyFun [k3] Symbol -> Type) -> Type) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| (SingI d1, SingI d2) => SingI (ShowListWithSym2 d1 d2 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowListWithSym2 d1 d2) # | |
| (SShow a, SingI d1, SingI d2) => SingI (ShowsPrecSym2 d1 d2 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods sing :: Sing (ShowsPrecSym2 d1 d2) # | |
| SMonad m => SingI (FailSym0 :: TyFun Symbol (m a) -> Type) | |
Defined in Data.Singletons.Prelude.Monad.Internal | |
| SuppressUnusedWarnings (Let6989586621679948974GoSym2 ws6989586621679948973 w6989586621679948972 :: TyFun [Symbol] Symbol -> Type) | |
Defined in Data.Singletons.Prelude.List.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262411Sym0 :: TyFun Nat ((a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262374Sym2 a6989586621680262372 a6989586621680262371 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680280497Sym2 a6989586621680280495 a6989586621680280494 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680882596Sym2 a6989586621680882594 a6989586621680882593 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262392Sym1 a6989586621680262389 a6989586621680260352 b6989586621680260353 c6989586621680260354 :: TyFun (a6989586621680260352, b6989586621680260353, c6989586621680260354) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680262258ShowlSym1 showx6989586621680262254 :: TyFun k1 (TyFun k2 (TyFun Symbol (TyFun [k3] Symbol -> Type) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680262237Sym0 :: TyFun k1 (TyFun k2 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680711151Sym1 a6989586621680711148 a6989586621680710532 b6989586621680710533 :: TyFun (Const a6989586621680710532 b6989586621680710533) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262431Sym0 :: TyFun Nat ((a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680711151Sym2 a6989586621680711149 a6989586621680711148 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Const Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262392Sym2 a6989586621680262390 a6989586621680262389 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262411Sym1 a6989586621680262408 a6989586621680260359 b6989586621680260360 c6989586621680260361 d6989586621680260362 :: TyFun (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680262258ShowlSym2 x6989586621680262255 showx6989586621680262254 :: TyFun k1 (TyFun Symbol (TyFun [k3] Symbol -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680262237Sym1 ss6989586621680262235 :: TyFun k1 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262452Sym0 :: TyFun Nat ((a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680262258ShowlSym3 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 :: TyFun Symbol (TyFun [k3] Symbol -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262411Sym2 a6989586621680262409 a6989586621680262408 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262431Sym1 a6989586621680262428 a6989586621680260368 b6989586621680260369 c6989586621680260370 d6989586621680260371 e6989586621680260372 :: TyFun (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680262237Sym2 a_69895866216802622336989586621680262236 ss6989586621680262235 :: TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680262258ShowlSym4 s6989586621680262257 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 :: TyFun [k3] Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262474Sym0 :: TyFun Nat ((a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262431Sym2 a6989586621680262429 a6989586621680262428 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262452Sym1 a6989586621680262449 a6989586621680260379 b6989586621680260380 c6989586621680260381 d6989586621680260382 e6989586621680260383 f6989586621680260384 :: TyFun (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680262237Sym3 t6989586621680262241 a_69895866216802622336989586621680262236 ss6989586621680262235 :: TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262452Sym2 a6989586621680262450 a6989586621680262449 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262474Sym1 a6989586621680262471 a6989586621680260392 b6989586621680260393 c6989586621680260394 d6989586621680260395 e6989586621680260396 f6989586621680260397 g6989586621680260398 :: TyFun (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680262474Sym2 a6989586621680262472 a6989586621680262471 :: TyFun Symbol Symbol -> Type) | |
Defined in Data.Singletons.Prelude.Show Methods suppressUnusedWarnings :: () # | |
| data Sing (s :: Symbol) | |
Defined in GHC.Generics | |
| type DemoteRep Symbol | |
Defined in GHC.Generics | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| data Sing (n :: Symbol) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type Demote Symbol | |
Defined in Data.Singletons.TypeLits.Internal | |
| type BoxContent ChunkOffsetTable64 Source # | |
| type BoxContent ChunkOffsetTable32 Source # | |
| type ToPretty (t :: Symbol) | A type of kind Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type FromString a | |
Defined in Data.Singletons.Prelude.IsString type FromString a = a | |
| type Mconcat (arg :: [Symbol]) | |
| type Show_ (arg :: Symbol) | |
| type Sconcat (arg :: NonEmpty Symbol) | |
| type Mappend (arg1 :: Symbol) (arg2 :: Symbol) | |
| type ShowList (arg1 :: [Symbol]) arg2 | |
| type (a :: Symbol) <> (b :: Symbol) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Min (arg1 :: Symbol) (arg2 :: Symbol) | |
| type Max (arg1 :: Symbol) (arg2 :: Symbol) | |
| type (arg1 :: Symbol) >= (arg2 :: Symbol) | |
| type (arg1 :: Symbol) > (arg2 :: Symbol) | |
| type (arg1 :: Symbol) <= (arg2 :: Symbol) | |
| type (arg1 :: Symbol) < (arg2 :: Symbol) | |
| type Compare (a :: Symbol) (b :: Symbol) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type (x :: Symbol) /= (y :: Symbol) | |
| type (x :: Symbol) == (y :: Symbol) | |
Defined in Data.Singletons.TypeLits.Internal | |
| type ShowsPrec a1 (a2 :: Symbol) a3 | |
| type Apply KnownSymbolSym0 (n6989586621679466984 :: Symbol) | |
Defined in Data.Singletons.TypeLits | |
| type Apply ShowSpaceSym0 (a6989586621680262181 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowCommaSpaceSym0 (a6989586621680262202 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show type Apply ShowCommaSpaceSym0 (a6989586621680262202 :: Symbol) = ShowCommaSpace a6989586621680262202 | |
| type Apply (ShowStringSym1 a6989586621680262194 :: TyFun Symbol Symbol -> Type) (a6989586621680262195 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowStringSym1 a6989586621680262194 :: TyFun Symbol Symbol -> Type) (a6989586621680262195 :: Symbol) = ShowString a6989586621680262194 a6989586621680262195 | |
| type Apply (ShowCharSym1 a6989586621680262209 :: TyFun Symbol Symbol -> Type) (a6989586621680262210 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Show_tupleSym1 a6989586621680262229 :: TyFun Symbol Symbol -> Type) (a6989586621680262230 :: Symbol) | |
| type Apply (ShowsNatSym1 a6989586621680279794 :: TyFun Symbol Symbol -> Type) (a6989586621680279795 :: Symbol) | |
| type Apply (Show__6989586621680262307Sym0 :: TyFun a Symbol -> Type) (a6989586621680262306 :: a) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Show_Sym0 :: TyFun a Symbol -> Type) (arg6989586621680262281 :: a) | |
| type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (arg6989586621681196286 :: Symbol) | |
Defined in Data.Singletons.Prelude.IsString type Apply (FromStringSym0 :: TyFun Symbol k2 -> Type) (arg6989586621681196286 :: Symbol) = (FromString arg6989586621681196286 :: k2) | |
| type Apply (ShowParenSym2 a6989586621680262216 a6989586621680262215 :: TyFun Symbol Symbol -> Type) (a6989586621680262217 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsSym1 a6989586621680262267 :: TyFun Symbol Symbol -> Type) (a6989586621680262268 :: Symbol) | |
| type Apply (ShowListSym1 arg6989586621680262283 :: TyFun Symbol Symbol -> Type) (arg6989586621680262284 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Lambda_6989586621680262184Sym1 a_69895866216802621796989586621680262183 :: TyFun Symbol Symbol -> Type) (t6989586621680262187 :: Symbol) | |
| type Apply (ShowList_6989586621680262318Sym1 a6989586621680262316 :: TyFun Symbol Symbol -> Type) (a6989586621680262317 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262357Sym2 a6989586621680262355 a6989586621680262354 :: TyFun Symbol Symbol -> Type) (a6989586621680262356 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280406Sym2 a6989586621680280404 a6989586621680280403 :: TyFun Symbol Symbol -> Type) (a6989586621680280405 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280557Sym2 a6989586621680280555 a6989586621680280554 :: TyFun Symbol Symbol -> Type) (a6989586621680280556 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280584Sym2 a6989586621680280582 a6989586621680280581 :: TyFun Symbol Symbol -> Type) (a6989586621680280583 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280612Sym2 a6989586621680280610 a6989586621680280609 :: TyFun Symbol Symbol -> Type) (a6989586621680280611 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865201Sym2 a6989586621680865199 a6989586621680865198 :: TyFun Symbol Symbol -> Type) (a6989586621680865200 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865227Sym2 a6989586621680865225 a6989586621680865224 :: TyFun Symbol Symbol -> Type) (a6989586621680865226 :: Symbol) | |
| type Apply (ShowListWithSym2 a6989586621680262248 a6989586621680262247 :: TyFun Symbol Symbol -> Type) (a6989586621680262249 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowListWithSym2 a6989586621680262248 a6989586621680262247 :: TyFun Symbol Symbol -> Type) (a6989586621680262249 :: Symbol) = ShowListWith a6989586621680262248 a6989586621680262247 a6989586621680262249 | |
| type Apply (ShowsPrecSym2 arg6989586621680262276 arg6989586621680262275 :: TyFun Symbol Symbol -> Type) (arg6989586621680262277 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrec_6989586621680675637Sym2 a6989586621680675635 a6989586621680675634 :: TyFun Symbol Symbol -> Type) (a6989586621680675636 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680335234Sym2 a6989586621680335232 a6989586621680335231 :: TyFun Symbol Symbol -> Type) (a6989586621680335233 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680335263Sym2 a6989586621680335261 a6989586621680335260 :: TyFun Symbol Symbol -> Type) (a6989586621680335262 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262298Sym2 a6989586621680262296 a6989586621680262295 :: TyFun Symbol Symbol -> Type) (a6989586621680262297 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262337Sym2 a6989586621680262335 a6989586621680262334 :: TyFun Symbol Symbol -> Type) (a6989586621680262336 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280443Sym2 a6989586621680280441 a6989586621680280440 :: TyFun Symbol Symbol -> Type) (a6989586621680280442 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280531Sym2 a6989586621680280529 a6989586621680280528 :: TyFun Symbol Symbol -> Type) (a6989586621680280530 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865146Sym2 a6989586621680865144 a6989586621680865143 :: TyFun Symbol Symbol -> Type) (a6989586621680865145 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865175Sym2 a6989586621680865173 a6989586621680865172 :: TyFun Symbol Symbol -> Type) (a6989586621680865174 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865256Sym2 a6989586621680865254 a6989586621680865253 :: TyFun Symbol Symbol -> Type) (a6989586621680865255 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865285Sym2 a6989586621680865283 a6989586621680865282 :: TyFun Symbol Symbol -> Type) (a6989586621680865284 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865314Sym2 a6989586621680865312 a6989586621680865311 :: TyFun Symbol Symbol -> Type) (a6989586621680865313 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865343Sym2 a6989586621680865341 a6989586621680865340 :: TyFun Symbol Symbol -> Type) (a6989586621680865342 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865372Sym2 a6989586621680865370 a6989586621680865369 :: TyFun Symbol Symbol -> Type) (a6989586621680865371 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865401Sym2 a6989586621680865399 a6989586621680865398 :: TyFun Symbol Symbol -> Type) (a6989586621680865400 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680865430Sym2 a6989586621680865428 a6989586621680865427 :: TyFun Symbol Symbol -> Type) (a6989586621680865429 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262374Sym2 a6989586621680262372 a6989586621680262371 :: TyFun Symbol Symbol -> Type) (a6989586621680262373 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280497Sym2 a6989586621680280495 a6989586621680280494 :: TyFun Symbol Symbol -> Type) (a6989586621680280496 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680882596Sym2 a6989586621680882594 a6989586621680882593 :: TyFun Symbol Symbol -> Type) (a6989586621680882595 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680711151Sym2 a6989586621680711149 a6989586621680711148 :: TyFun Symbol Symbol -> Type) (a6989586621680711150 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262392Sym2 a6989586621680262390 a6989586621680262389 :: TyFun Symbol Symbol -> Type) (a6989586621680262391 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262411Sym2 a6989586621680262409 a6989586621680262408 :: TyFun Symbol Symbol -> Type) (a6989586621680262410 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262431Sym2 a6989586621680262429 a6989586621680262428 :: TyFun Symbol Symbol -> Type) (a6989586621680262430 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262452Sym2 a6989586621680262450 a6989586621680262449 :: TyFun Symbol Symbol -> Type) (a6989586621680262451 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680262474Sym2 a6989586621680262472 a6989586621680262471 :: TyFun Symbol Symbol -> Type) (a6989586621680262473 :: Symbol) | |
| type Apply UnwordsSym0 (a6989586621679948970 :: [Symbol]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply UnlinesSym0 (a6989586621679948981 :: [Symbol]) | |
Defined in Data.Singletons.Prelude.List.Internal | |
| type Apply (Let6989586621679948974GoSym2 ws6989586621679948973 w6989586621679948972 :: TyFun [Symbol] Symbol -> Type) (a6989586621679948975 :: [Symbol]) | |
| type Apply (Let6989586621680262258ShowlSym4 s6989586621680262257 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 :: TyFun [k2] Symbol -> Type) (a6989586621680262259 :: [k2]) | |
Defined in Data.Singletons.Prelude.Show type Apply (Let6989586621680262258ShowlSym4 s6989586621680262257 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 :: TyFun [k2] Symbol -> Type) (a6989586621680262259 :: [k2]) = Let6989586621680262258Showl s6989586621680262257 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 a6989586621680262259 | |
| type BoxTypeSymbol ChunkOffsetTable64 Source # | |
| type BoxTypeSymbol ChunkOffsetTable32 Source # | |
| type Apply (Fail_6989586621679607690Sym0 :: TyFun Symbol [a6989586621679544294] -> Type) (a6989586621679607689 :: Symbol) | |
| type Apply (Fail_6989586621679607625Sym0 :: TyFun Symbol (Maybe a6989586621679544294) -> Type) (a6989586621679607624 :: Symbol) | |
| type Apply (FromString_6989586621681196299Sym0 :: TyFun Symbol (Identity a6989586621681196255) -> Type) (a6989586621681196298 :: Symbol) | |
| type Apply (Fail_6989586621679544807Sym0 :: TyFun Symbol (m6989586621679544288 a6989586621679544294) -> Type) (a6989586621679544806 :: Symbol) | |
| type Apply (FailSym0 :: TyFun Symbol (m6989586621679544288 a6989586621679544294) -> Type) (arg6989586621679544770 :: Symbol) | |
| type Apply ShowsPrec_6989586621680280557Sym0 (a6989586621680280554 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680280584Sym0 (a6989586621680280581 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsNatSym0 (a6989586621680279794 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowStringSym0 (a6989586621680262194 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowCharSym0 (a6989586621680262209 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680262357Sym0 (a6989586621680262354 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680280406Sym0 (a6989586621680280403 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680280612Sym0 (a6989586621680280609 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply ShowsPrec_6989586621680865201Sym0 (a6989586621680865198 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply ShowsPrec_6989586621680865227Sym0 (a6989586621680865224 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply ShowParenSym0 (a6989586621680262215 :: Bool) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Lambda_6989586621680262184Sym0 :: TyFun k (TyFun Symbol Symbol -> Type) -> Type) (a_69895866216802621796989586621680262183 :: k) | |
| type Apply (ShowsPrec_6989586621680262337Sym0 :: TyFun Nat ([a6989586621680260343] ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262334 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrec_6989586621680280443Sym0 :: TyFun Nat (Maybe a3530822107858468865 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280440 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrec_6989586621680280557Sym1 a6989586621680280554 :: TyFun Bool (Symbol ~> Symbol) -> Type) (a6989586621680280555 :: Bool) | |
| type Apply (ShowsPrec_6989586621680280584Sym1 a6989586621680280581 :: TyFun Ordering (Symbol ~> Symbol) -> Type) (a6989586621680280582 :: Ordering) | |
| type Apply (ShowsPrec_6989586621680262357Sym1 a6989586621680262354 :: TyFun Symbol (Symbol ~> Symbol) -> Type) (a6989586621680262355 :: Symbol) | |
| type Apply (ShowsPrec_6989586621680280406Sym1 a6989586621680280403 :: TyFun () (Symbol ~> Symbol) -> Type) (a6989586621680280404 :: ()) | |
| type Apply (ShowsSym0 :: TyFun a6989586621680260310 (Symbol ~> Symbol) -> Type) (a6989586621680262267 :: a6989586621680260310) | |
| type Apply (ShowsPrec_6989586621680280612Sym1 a6989586621680280609 :: TyFun Void (Symbol ~> Symbol) -> Type) (a6989586621680280610 :: Void) | |
| type Apply (ShowsPrec_6989586621680865201Sym1 a6989586621680865198 :: TyFun All (Symbol ~> Symbol) -> Type) (a6989586621680865199 :: All) | |
| type Apply (ShowsPrec_6989586621680865227Sym1 a6989586621680865224 :: TyFun Any (Symbol ~> Symbol) -> Type) (a6989586621680865225 :: Any) | |
| type Apply (ShowsPrec_6989586621680262298Sym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262295 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrecSym0 :: TyFun Nat (a6989586621680260325 ~> (Symbol ~> Symbol)) -> Type) (arg6989586621680262275 :: Nat) | |
| type Apply (ShowsPrec_6989586621680865314Sym0 :: TyFun Nat (Min a6989586621679050961 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865311 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865343Sym0 :: TyFun Nat (Max a6989586621679050967 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865340 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865372Sym0 :: TyFun Nat (First a6989586621679050981 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865369 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865401Sym0 :: TyFun Nat (Last a6989586621679050987 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865398 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865430Sym0 :: TyFun Nat (WrappedMonoid m6989586621679050993 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865427 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ShowsPrec_6989586621680865430Sym0 :: TyFun Nat (WrappedMonoid m6989586621679050993 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865427 :: Nat) = (ShowsPrec_6989586621680865430Sym1 a6989586621680865427 m6989586621679050993 :: TyFun (WrappedMonoid m6989586621679050993) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680865146Sym0 :: TyFun Nat (Option a6989586621679050999 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865143 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680675637Sym0 :: TyFun Nat (Identity a6989586621680675127 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680675634 :: Nat) | |
Defined in Data.Singletons.Prelude.Identity | |
| type Apply (ShowsPrec_6989586621680335234Sym0 :: TyFun Nat (First a6989586621679072624 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680335231 :: Nat) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680335263Sym0 :: TyFun Nat (Last a6989586621679072619 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680335260 :: Nat) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680865175Sym0 :: TyFun Nat (Dual a6989586621679072595 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865172 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865256Sym0 :: TyFun Nat (Sum a6989586621679072580 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865253 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865285Sym0 :: TyFun Nat (Product a6989586621679072585 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865282 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680280531Sym0 :: TyFun Nat (NonEmpty a6989586621679055391 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280528 :: Nat) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Let6989586621679948974GoSym0 :: TyFun k1 (TyFun k2 (TyFun [Symbol] Symbol -> Type) -> Type) -> Type) (w6989586621679948972 :: k1) | |
| type Apply (ShowsPrec_6989586621680280497Sym0 :: TyFun Nat (Either a6989586621679073691 b6989586621679073692 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280494 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680280497Sym0 :: TyFun Nat (Either a6989586621679073691 b6989586621679073692 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680280494 :: Nat) = (ShowsPrec_6989586621680280497Sym1 a6989586621680280494 a6989586621679073691 b6989586621679073692 :: TyFun (Either a6989586621679073691 b6989586621679073692) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680262298Sym1 a6989586621680262295 a6989586621680260325 :: TyFun a6989586621680260325 (Symbol ~> Symbol) -> Type) (a6989586621680262296 :: a6989586621680260325) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrecSym1 arg6989586621680262275 a6989586621680260325 :: TyFun a6989586621680260325 (Symbol ~> Symbol) -> Type) (arg6989586621680262276 :: a6989586621680260325) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrecSym1 arg6989586621680262275 a6989586621680260325 :: TyFun a6989586621680260325 (Symbol ~> Symbol) -> Type) (arg6989586621680262276 :: a6989586621680260325) = ShowsPrecSym2 arg6989586621680262275 arg6989586621680262276 | |
| type Apply (ShowsPrec_6989586621680262374Sym0 :: TyFun Nat ((a6989586621680260347, b6989586621680260348) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262371 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262374Sym0 :: TyFun Nat ((a6989586621680260347, b6989586621680260348) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262371 :: Nat) = (ShowsPrec_6989586621680262374Sym1 a6989586621680262371 a6989586621680260347 b6989586621680260348 :: TyFun (a6989586621680260347, b6989586621680260348) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680882596Sym0 :: TyFun Nat (Arg a6989586621680881245 b6989586621680881246 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680882593 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ShowsPrec_6989586621680882596Sym0 :: TyFun Nat (Arg a6989586621680881245 b6989586621680881246 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680882593 :: Nat) = (ShowsPrec_6989586621680882596Sym1 a6989586621680882593 a6989586621680881245 b6989586621680881246 :: TyFun (Arg a6989586621680881245 b6989586621680881246) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621679948974GoSym1 w6989586621679948972 :: TyFun k1 (TyFun [Symbol] Symbol -> Type) -> Type) (ws6989586621679948973 :: k1) | |
| type Apply (ShowsPrec_6989586621680262392Sym0 :: TyFun Nat ((a6989586621680260352, b6989586621680260353, c6989586621680260354) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262389 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262392Sym0 :: TyFun Nat ((a6989586621680260352, b6989586621680260353, c6989586621680260354) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262389 :: Nat) = (ShowsPrec_6989586621680262392Sym1 a6989586621680262389 a6989586621680260352 b6989586621680260353 c6989586621680260354 :: TyFun (a6989586621680260352, b6989586621680260353, c6989586621680260354) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680711151Sym0 :: TyFun Nat (Const a6989586621680710532 b6989586621680710533 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680711148 :: Nat) | |
Defined in Data.Singletons.Prelude.Const type Apply (ShowsPrec_6989586621680711151Sym0 :: TyFun Nat (Const a6989586621680710532 b6989586621680710533 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680711148 :: Nat) = (ShowsPrec_6989586621680711151Sym1 a6989586621680711148 a6989586621680710532 b6989586621680710533 :: TyFun (Const a6989586621680710532 b6989586621680710533) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621680262258ShowlSym1 showx6989586621680262254 :: TyFun k1 (TyFun k3 (TyFun Symbol (TyFun [k2] Symbol -> Type) -> Type) -> Type) -> Type) (x6989586621680262255 :: k1) | |
Defined in Data.Singletons.Prelude.Show type Apply (Let6989586621680262258ShowlSym1 showx6989586621680262254 :: TyFun k1 (TyFun k3 (TyFun Symbol (TyFun [k2] Symbol -> Type) -> Type) -> Type) -> Type) (x6989586621680262255 :: k1) = (Let6989586621680262258ShowlSym2 showx6989586621680262254 x6989586621680262255 :: TyFun k3 (TyFun Symbol (TyFun [k2] Symbol -> Type) -> Type) -> Type) | |
| type Apply (Lambda_6989586621680262237Sym0 :: TyFun k1 (TyFun k2 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) -> Type) (ss6989586621680262235 :: k1) | |
Defined in Data.Singletons.Prelude.Show type Apply (Lambda_6989586621680262237Sym0 :: TyFun k1 (TyFun k2 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) -> Type) (ss6989586621680262235 :: k1) = (Lambda_6989586621680262237Sym1 ss6989586621680262235 :: TyFun k2 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) | |
| type Apply (ShowsPrec_6989586621680262411Sym0 :: TyFun Nat ((a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262408 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262411Sym0 :: TyFun Nat ((a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262408 :: Nat) = (ShowsPrec_6989586621680262411Sym1 a6989586621680262408 a6989586621680260359 b6989586621680260360 c6989586621680260361 d6989586621680260362 :: TyFun (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621680262258ShowlSym2 x6989586621680262255 showx6989586621680262254 :: TyFun k3 (TyFun Symbol (TyFun [k2] Symbol -> Type) -> Type) -> Type) (xs6989586621680262256 :: k3) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Lambda_6989586621680262237Sym1 ss6989586621680262235 :: TyFun k1 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) (a_69895866216802622336989586621680262236 :: k1) | |
Defined in Data.Singletons.Prelude.Show type Apply (Lambda_6989586621680262237Sym1 ss6989586621680262235 :: TyFun k1 (TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) -> Type) (a_69895866216802622336989586621680262236 :: k1) = (Lambda_6989586621680262237Sym2 ss6989586621680262235 a_69895866216802622336989586621680262236 :: TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) | |
| type Apply (ShowsPrec_6989586621680262431Sym0 :: TyFun Nat ((a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262428 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262431Sym0 :: TyFun Nat ((a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262428 :: Nat) = (ShowsPrec_6989586621680262431Sym1 a6989586621680262428 a6989586621680260368 b6989586621680260369 c6989586621680260370 d6989586621680260371 e6989586621680260372 :: TyFun (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) (Symbol ~> Symbol) -> Type) | |
| type Apply (Let6989586621680262258ShowlSym3 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 :: TyFun Symbol (TyFun [k2] Symbol -> Type) -> Type) (s6989586621680262257 :: Symbol) | |
Defined in Data.Singletons.Prelude.Show type Apply (Let6989586621680262258ShowlSym3 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 :: TyFun Symbol (TyFun [k2] Symbol -> Type) -> Type) (s6989586621680262257 :: Symbol) = Let6989586621680262258ShowlSym4 xs6989586621680262256 x6989586621680262255 showx6989586621680262254 s6989586621680262257 | |
| type Apply (ShowsPrec_6989586621680262452Sym0 :: TyFun Nat ((a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262449 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262452Sym0 :: TyFun Nat ((a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262449 :: Nat) = (ShowsPrec_6989586621680262452Sym1 a6989586621680262449 a6989586621680260379 b6989586621680260380 c6989586621680260381 d6989586621680260382 e6989586621680260383 f6989586621680260384 :: TyFun (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) (Symbol ~> Symbol) -> Type) | |
| type Apply (ShowsPrec_6989586621680262474Sym0 :: TyFun Nat ((a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262471 :: Nat) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262474Sym0 :: TyFun Nat ((a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262471 :: Nat) = (ShowsPrec_6989586621680262474Sym1 a6989586621680262471 a6989586621680260392 b6989586621680260393 c6989586621680260394 d6989586621680260395 e6989586621680260396 f6989586621680260397 g6989586621680260398 :: TyFun (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) (Symbol ~> Symbol) -> Type) | |
| type Apply Show_tupleSym0 (a6989586621680262229 :: [Symbol ~> Symbol]) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowList_6989586621680262318Sym0 :: TyFun [a6989586621680260325] (Symbol ~> Symbol) -> Type) (a6989586621680262316 :: [a6989586621680260325]) | |
| type Apply (ShowListSym0 :: TyFun [a6989586621680260325] (Symbol ~> Symbol) -> Type) (arg6989586621680262283 :: [a6989586621680260325]) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowListSym0 :: TyFun [a6989586621680260325] (Symbol ~> Symbol) -> Type) (arg6989586621680262283 :: [a6989586621680260325]) = ShowListSym1 arg6989586621680262283 | |
| type Apply (ShowListWithSym1 a6989586621680262247 :: TyFun [a6989586621680260309] (Symbol ~> Symbol) -> Type) (a6989586621680262248 :: [a6989586621680260309]) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowListWithSym1 a6989586621680262247 :: TyFun [a6989586621680260309] (Symbol ~> Symbol) -> Type) (a6989586621680262248 :: [a6989586621680260309]) = ShowListWithSym2 a6989586621680262247 a6989586621680262248 | |
| type Apply (ShowsPrec_6989586621680262337Sym1 a6989586621680262334 a6989586621680260343 :: TyFun [a6989586621680260343] (Symbol ~> Symbol) -> Type) (a6989586621680262335 :: [a6989586621680260343]) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrec_6989586621680280443Sym1 a6989586621680280440 a3530822107858468865 :: TyFun (Maybe a3530822107858468865) (Symbol ~> Symbol) -> Type) (a6989586621680280441 :: Maybe a3530822107858468865) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowsPrec_6989586621680865314Sym1 a6989586621680865311 a6989586621679050961 :: TyFun (Min a6989586621679050961) (Symbol ~> Symbol) -> Type) (a6989586621680865312 :: Min a6989586621679050961) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865343Sym1 a6989586621680865340 a6989586621679050967 :: TyFun (Max a6989586621679050967) (Symbol ~> Symbol) -> Type) (a6989586621680865341 :: Max a6989586621679050967) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865372Sym1 a6989586621680865369 a6989586621679050981 :: TyFun (First a6989586621679050981) (Symbol ~> Symbol) -> Type) (a6989586621680865370 :: First a6989586621679050981) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865401Sym1 a6989586621680865398 a6989586621679050987 :: TyFun (Last a6989586621679050987) (Symbol ~> Symbol) -> Type) (a6989586621680865399 :: Last a6989586621679050987) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865430Sym1 a6989586621680865427 m6989586621679050993 :: TyFun (WrappedMonoid m6989586621679050993) (Symbol ~> Symbol) -> Type) (a6989586621680865428 :: WrappedMonoid m6989586621679050993) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ShowsPrec_6989586621680865430Sym1 a6989586621680865427 m6989586621679050993 :: TyFun (WrappedMonoid m6989586621679050993) (Symbol ~> Symbol) -> Type) (a6989586621680865428 :: WrappedMonoid m6989586621679050993) = ShowsPrec_6989586621680865430Sym2 a6989586621680865427 a6989586621680865428 | |
| type Apply (ShowsPrec_6989586621680865146Sym1 a6989586621680865143 a6989586621679050999 :: TyFun (Option a6989586621679050999) (Symbol ~> Symbol) -> Type) (a6989586621680865144 :: Option a6989586621679050999) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680675637Sym1 a6989586621680675634 a6989586621680675127 :: TyFun (Identity a6989586621680675127) (Symbol ~> Symbol) -> Type) (a6989586621680675635 :: Identity a6989586621680675127) | |
Defined in Data.Singletons.Prelude.Identity | |
| type Apply (ShowsPrec_6989586621680335234Sym1 a6989586621680335231 a6989586621679072624 :: TyFun (First a6989586621679072624) (Symbol ~> Symbol) -> Type) (a6989586621680335232 :: First a6989586621679072624) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680335263Sym1 a6989586621680335260 a6989586621679072619 :: TyFun (Last a6989586621679072619) (Symbol ~> Symbol) -> Type) (a6989586621680335261 :: Last a6989586621679072619) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680865175Sym1 a6989586621680865172 a6989586621679072595 :: TyFun (Dual a6989586621679072595) (Symbol ~> Symbol) -> Type) (a6989586621680865173 :: Dual a6989586621679072595) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865256Sym1 a6989586621680865253 a6989586621679072580 :: TyFun (Sum a6989586621679072580) (Symbol ~> Symbol) -> Type) (a6989586621680865254 :: Sum a6989586621679072580) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865285Sym1 a6989586621680865282 a6989586621679072585 :: TyFun (Product a6989586621679072585) (Symbol ~> Symbol) -> Type) (a6989586621680865283 :: Product a6989586621679072585) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680280531Sym1 a6989586621680280528 a6989586621679055391 :: TyFun (NonEmpty a6989586621679055391) (Symbol ~> Symbol) -> Type) (a6989586621680280529 :: NonEmpty a6989586621679055391) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (ShowListWithSym0 :: TyFun (a6989586621680260309 ~> (Symbol ~> Symbol)) ([a6989586621680260309] ~> (Symbol ~> Symbol)) -> Type) (a6989586621680262247 :: a6989586621680260309 ~> (Symbol ~> Symbol)) | |
| type Apply (ShowParenSym1 a6989586621680262215 :: TyFun (Symbol ~> Symbol) (Symbol ~> Symbol) -> Type) (a6989586621680262216 :: Symbol ~> Symbol) | |
Defined in Data.Singletons.Prelude.Show | |
| type Apply (Let6989586621680262258ShowlSym0 :: TyFun (k1 ~> (Symbol ~> Symbol)) (TyFun k2 (TyFun k3 (TyFun Symbol (TyFun [k1] Symbol -> Type) -> Type) -> Type) -> Type) -> Type) (showx6989586621680262254 :: k1 ~> (Symbol ~> Symbol)) | |
Defined in Data.Singletons.Prelude.Show type Apply (Let6989586621680262258ShowlSym0 :: TyFun (k1 ~> (Symbol ~> Symbol)) (TyFun k2 (TyFun k3 (TyFun Symbol (TyFun [k1] Symbol -> Type) -> Type) -> Type) -> Type) -> Type) (showx6989586621680262254 :: k1 ~> (Symbol ~> Symbol)) = (Let6989586621680262258ShowlSym1 showx6989586621680262254 :: TyFun k2 (TyFun k3 (TyFun Symbol (TyFun [k1] Symbol -> Type) -> Type) -> Type) -> Type) | |
| type Apply (ShowsPrec_6989586621680280497Sym1 a6989586621680280494 a6989586621679073691 b6989586621679073692 :: TyFun (Either a6989586621679073691 b6989586621679073692) (Symbol ~> Symbol) -> Type) (a6989586621680280495 :: Either a6989586621679073691 b6989586621679073692) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680280497Sym1 a6989586621680280494 a6989586621679073691 b6989586621679073692 :: TyFun (Either a6989586621679073691 b6989586621679073692) (Symbol ~> Symbol) -> Type) (a6989586621680280495 :: Either a6989586621679073691 b6989586621679073692) = ShowsPrec_6989586621680280497Sym2 a6989586621680280494 a6989586621680280495 | |
| type Apply (ShowsPrec_6989586621680262374Sym1 a6989586621680262371 a6989586621680260347 b6989586621680260348 :: TyFun (a6989586621680260347, b6989586621680260348) (Symbol ~> Symbol) -> Type) (a6989586621680262372 :: (a6989586621680260347, b6989586621680260348)) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262374Sym1 a6989586621680262371 a6989586621680260347 b6989586621680260348 :: TyFun (a6989586621680260347, b6989586621680260348) (Symbol ~> Symbol) -> Type) (a6989586621680262372 :: (a6989586621680260347, b6989586621680260348)) = ShowsPrec_6989586621680262374Sym2 a6989586621680262371 a6989586621680262372 | |
| type Apply (ShowsPrec_6989586621680882596Sym1 a6989586621680882593 a6989586621680881245 b6989586621680881246 :: TyFun (Arg a6989586621680881245 b6989586621680881246) (Symbol ~> Symbol) -> Type) (a6989586621680882594 :: Arg a6989586621680881245 b6989586621680881246) | |
Defined in Data.Singletons.Prelude.Semigroup type Apply (ShowsPrec_6989586621680882596Sym1 a6989586621680882593 a6989586621680881245 b6989586621680881246 :: TyFun (Arg a6989586621680881245 b6989586621680881246) (Symbol ~> Symbol) -> Type) (a6989586621680882594 :: Arg a6989586621680881245 b6989586621680881246) = ShowsPrec_6989586621680882596Sym2 a6989586621680882593 a6989586621680882594 | |
| type Apply (Lambda_6989586621680262237Sym2 a_69895866216802622336989586621680262236 ss6989586621680262235 :: TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) (t6989586621680262241 :: Symbol ~> c6989586621679519978) | |
Defined in Data.Singletons.Prelude.Show type Apply (Lambda_6989586621680262237Sym2 a_69895866216802622336989586621680262236 ss6989586621680262235 :: TyFun (Symbol ~> c6989586621679519978) (TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) -> Type) (t6989586621680262241 :: Symbol ~> c6989586621679519978) = (Lambda_6989586621680262237Sym3 a_69895866216802622336989586621680262236 ss6989586621680262235 t6989586621680262241 :: TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) | |
| type Apply (Lambda_6989586621680262237Sym3 t6989586621680262241 a_69895866216802622336989586621680262236 ss6989586621680262235 :: TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) (t6989586621680262242 :: a6989586621679519979 ~> Symbol) | |
Defined in Data.Singletons.Prelude.Show type Apply (Lambda_6989586621680262237Sym3 t6989586621680262241 a_69895866216802622336989586621680262236 ss6989586621680262235 :: TyFun (a6989586621679519979 ~> Symbol) (TyFun a6989586621679519979 c6989586621679519978 -> Type) -> Type) (t6989586621680262242 :: a6989586621679519979 ~> Symbol) = Lambda_6989586621680262237 t6989586621680262241 a_69895866216802622336989586621680262236 ss6989586621680262235 t6989586621680262242 | |
| type Apply (ShowsPrec_6989586621680262392Sym1 a6989586621680262389 a6989586621680260352 b6989586621680260353 c6989586621680260354 :: TyFun (a6989586621680260352, b6989586621680260353, c6989586621680260354) (Symbol ~> Symbol) -> Type) (a6989586621680262390 :: (a6989586621680260352, b6989586621680260353, c6989586621680260354)) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262392Sym1 a6989586621680262389 a6989586621680260352 b6989586621680260353 c6989586621680260354 :: TyFun (a6989586621680260352, b6989586621680260353, c6989586621680260354) (Symbol ~> Symbol) -> Type) (a6989586621680262390 :: (a6989586621680260352, b6989586621680260353, c6989586621680260354)) = ShowsPrec_6989586621680262392Sym2 a6989586621680262389 a6989586621680262390 | |
| type Apply (ShowsPrec_6989586621680711151Sym1 a6989586621680711148 a6989586621680710532 b6989586621680710533 :: TyFun (Const a6989586621680710532 b6989586621680710533) (Symbol ~> Symbol) -> Type) (a6989586621680711149 :: Const a6989586621680710532 b6989586621680710533) | |
Defined in Data.Singletons.Prelude.Const type Apply (ShowsPrec_6989586621680711151Sym1 a6989586621680711148 a6989586621680710532 b6989586621680710533 :: TyFun (Const a6989586621680710532 b6989586621680710533) (Symbol ~> Symbol) -> Type) (a6989586621680711149 :: Const a6989586621680710532 b6989586621680710533) = ShowsPrec_6989586621680711151Sym2 a6989586621680711148 a6989586621680711149 | |
| type Apply (ShowsPrec_6989586621680262411Sym1 a6989586621680262408 a6989586621680260359 b6989586621680260360 c6989586621680260361 d6989586621680260362 :: TyFun (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) (Symbol ~> Symbol) -> Type) (a6989586621680262409 :: (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362)) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262411Sym1 a6989586621680262408 a6989586621680260359 b6989586621680260360 c6989586621680260361 d6989586621680260362 :: TyFun (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362) (Symbol ~> Symbol) -> Type) (a6989586621680262409 :: (a6989586621680260359, b6989586621680260360, c6989586621680260361, d6989586621680260362)) = ShowsPrec_6989586621680262411Sym2 a6989586621680262408 a6989586621680262409 | |
| type Apply (ShowsPrec_6989586621680262431Sym1 a6989586621680262428 a6989586621680260368 b6989586621680260369 c6989586621680260370 d6989586621680260371 e6989586621680260372 :: TyFun (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) (Symbol ~> Symbol) -> Type) (a6989586621680262429 :: (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372)) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262431Sym1 a6989586621680262428 a6989586621680260368 b6989586621680260369 c6989586621680260370 d6989586621680260371 e6989586621680260372 :: TyFun (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372) (Symbol ~> Symbol) -> Type) (a6989586621680262429 :: (a6989586621680260368, b6989586621680260369, c6989586621680260370, d6989586621680260371, e6989586621680260372)) = ShowsPrec_6989586621680262431Sym2 a6989586621680262428 a6989586621680262429 | |
| type Apply (ShowsPrec_6989586621680262452Sym1 a6989586621680262449 a6989586621680260379 b6989586621680260380 c6989586621680260381 d6989586621680260382 e6989586621680260383 f6989586621680260384 :: TyFun (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) (Symbol ~> Symbol) -> Type) (a6989586621680262450 :: (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384)) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262452Sym1 a6989586621680262449 a6989586621680260379 b6989586621680260380 c6989586621680260381 d6989586621680260382 e6989586621680260383 f6989586621680260384 :: TyFun (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384) (Symbol ~> Symbol) -> Type) (a6989586621680262450 :: (a6989586621680260379, b6989586621680260380, c6989586621680260381, d6989586621680260382, e6989586621680260383, f6989586621680260384)) = ShowsPrec_6989586621680262452Sym2 a6989586621680262449 a6989586621680262450 | |
| type Apply (ShowsPrec_6989586621680262474Sym1 a6989586621680262471 a6989586621680260392 b6989586621680260393 c6989586621680260394 d6989586621680260395 e6989586621680260396 f6989586621680260397 g6989586621680260398 :: TyFun (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) (Symbol ~> Symbol) -> Type) (a6989586621680262472 :: (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398)) | |
Defined in Data.Singletons.Prelude.Show type Apply (ShowsPrec_6989586621680262474Sym1 a6989586621680262471 a6989586621680260392 b6989586621680260393 c6989586621680260394 d6989586621680260395 e6989586621680260396 f6989586621680260397 g6989586621680260398 :: TyFun (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398) (Symbol ~> Symbol) -> Type) (a6989586621680262472 :: (a6989586621680260392, b6989586621680260393, c6989586621680260394, d6989586621680260395, e6989586621680260396, f6989586621680260397, g6989586621680260398)) = ShowsPrec_6989586621680262474Sym2 a6989586621680262471 a6989586621680262472 | |
| type Apply (FromString_6989586621681196292Sym0 :: TyFun Symbol (Const a6989586621681196252 b6989586621681196253) -> Type) (a6989586621681196291 :: Symbol) | |
Defined in Data.Singletons.Prelude.IsString | |
type family (a :: Nat) + (b :: Nat) :: Nat where ... infixl 6 #
Addition of type-level naturals.
Since: base-4.7.0.0
type family (a :: Nat) * (b :: Nat) :: Nat where ... infixl 7 #
Multiplication of type-level naturals.
Since: base-4.7.0.0
type family (a :: Nat) ^ (b :: Nat) :: Nat where ... infixr 8 #
Exponentiation of type-level naturals.
Since: base-4.7.0.0
type family (a :: Nat) <=? (b :: Nat) :: Bool where ... infix 4 #
Comparison of type-level naturals, as a function.
NOTE: The functionality for this function should be subsumed
by CmpNat, so this might go away in the future.
Please let us know, if you encounter discrepancies between the two.
type family (a :: Nat) - (b :: Nat) :: Nat where ... infixl 6 #
Subtraction of type-level naturals.
Since: base-4.7.0.0
type family CmpSymbol (a :: Symbol) (b :: Symbol) :: Ordering where ... #
Comparison of type-level symbols, as a function.
Since: base-4.7.0.0
type family CmpNat (a :: Nat) (b :: Nat) :: Ordering where ... #
Comparison of type-level naturals, as a function.
Since: base-4.7.0.0
type family Div (a :: Nat) (b :: Nat) :: Nat where ... infixl 7 #
Division (round down) of natural numbers.
Div x 0 is undefined (i.e., it cannot be reduced).
Since: base-4.11.0.0
type family Mod (a :: Nat) (b :: Nat) :: Nat where ... infixl 7 #
Modulus of natural numbers.
Mod x 0 is undefined (i.e., it cannot be reduced).
Since: base-4.11.0.0
type family Log2 (a :: Nat) :: Nat where ... #
Log base 2 (round down) of natural numbers.
Log 0 is undefined (i.e., it cannot be reduced).
Since: base-4.11.0.0
type family TypeError (a :: ErrorMessage) :: b where ... #
The type-level equivalent of error.
The polymorphic kind of this type allows it to be used in several settings. For instance, it can be used as a constraint, e.g. to provide a better error message for a non-existent instance,
-- in a context
instance TypeError (Text "Cannot Show functions." :$$:
Text "Perhaps there is a missing argument?")
=> Show (a -> b) where
showsPrec = error "unreachable"
It can also be placed on the right-hand side of a type-level function to provide an error for an invalid case,
type family ByteSize x where
ByteSize Word16 = 2
ByteSize Word8 = 1
ByteSize a = TypeError (Text "The type " :<>: ShowType a :<>:
Text " is not exportable.")
Since: base-4.9.0.0
type family AppendSymbol (a :: Symbol) (b :: Symbol) :: Symbol where ... #
Concatenation of type-level symbols.
Since: base-4.10.0.0
errorBadArgument :: a #
Calls perror to indicate that there is a type
error or similar in the given argument.
Since: base-4.7.0.0
errorMissingArgument :: a #
Calls perror to indicate that there is a missing
argument in the argument list.
Since: base-4.7.0.0
errorShortFormat :: a #
Calls perror to indicate that the format string ended
early.
Since: base-4.7.0.0
errorBadFormat :: Char -> a #
Calls perror to indicate an unknown format letter for
a given type.
Since: base-4.7.0.0
Raises an error with a printf-specific prefix on the
message string.
Since: base-4.7.0.0
formatRealFloat :: RealFloat a => a -> FieldFormatter #
Formatter for RealFloat values.
Since: base-4.7.0.0
formatInteger :: Integer -> FieldFormatter #
Formatter for Integer values.
Since: base-4.7.0.0
formatInt :: (Integral a, Bounded a) => a -> FieldFormatter #
Formatter for Int values.
Since: base-4.7.0.0
formatString :: IsChar a => [a] -> FieldFormatter #
Formatter for String values.
Since: base-4.7.0.0
formatChar :: Char -> FieldFormatter #
Formatter for Char values.
Since: base-4.7.0.0
vFmt :: Char -> FieldFormat -> FieldFormat #
Substitute a 'v' format character with the given
default format character in the FieldFormat. A
convenience for user-implemented types, which should
support "%v".
Since: base-4.7.0.0
hPrintf :: HPrintfType r => Handle -> String -> r #
printf :: PrintfType r => String -> r #
Format a variable number of arguments with the C-style formatting string.
>>>printf "%s, %d, %.4f" "hello" 123 pihello, 123, 3.1416
The return value is either String or ( (which
should be IO a)(, but Haskell's type system
makes this hard).IO '()')
The format string consists of ordinary characters and
conversion specifications, which specify how to format
one of the arguments to printf in the output string. A
format specification is introduced by the % character;
this character can be self-escaped into the format string
using %%. A format specification ends with a /format
character/ that provides the primary information about
how to format the value. The rest of the conversion
specification is optional. In order, one may have flag
characters, a width specifier, a precision specifier, and
type-specific modifier characters.
Unlike C printf(3), the formatting of this printf
is driven by the argument type; formatting is type specific. The
types formatted by printf "out of the box" are:
printf is also extensible to support other types: see below.
A conversion specification begins with the
character %, followed by zero or more of the following flags:
- left adjust (default is right adjust) + always use a sign (+ or -) for signed conversions space leading space for positive numbers in signed conversions 0 pad with zeros rather than spaces # use an \"alternate form\": see below
When both flags are given, - overrides 0 and + overrides space.
A negative width specifier in a * conversion is treated as
positive but implies the left adjust flag.
The "alternate form" for unsigned radix conversions is
as in C printf(3):
%o prefix with a leading 0 if needed %x prefix with a leading 0x if nonzero %X prefix with a leading 0X if nonzero %b prefix with a leading 0b if nonzero %[eEfFgG] ensure that the number contains a decimal point
Any flags are followed optionally by a field width:
num field width * as num, but taken from argument list
The field width is a minimum, not a maximum: it will be expanded as needed to avoid mutilating a value.
Any field width is followed optionally by a precision:
.num precision . same as .0 .* as num, but taken from argument list
Negative precision is taken as 0. The meaning of the precision depends on the conversion type.
Integral minimum number of digits to show RealFloat number of digits after the decimal point String maximum number of characters
The precision for Integral types is accomplished by zero-padding. If both precision and zero-pad are given for an Integral field, the zero-pad is ignored.
Any precision is followed optionally for Integral types by a width modifier; the only use of this modifier being to set the implicit size of the operand for conversion of a negative operand to unsigned:
hh Int8 h Int16 l Int32 ll Int64 L Int64
The specification ends with a format character:
c character Integral d decimal Integral o octal Integral x hexadecimal Integral X hexadecimal Integral b binary Integral u unsigned decimal Integral f floating point RealFloat F floating point RealFloat g general format float RealFloat G general format float RealFloat e exponent format float RealFloat E exponent format float RealFloat s string String v default format any type
The "%v" specifier is provided for all built-in types, and should be provided for user-defined type formatters as well. It picks a "best" representation for the given type. For the built-in types the "%v" specifier is converted as follows:
c Char u other unsigned Integral d other signed Integral g RealFloat s String
Mismatch between the argument types and the format string, as well as any other syntactic or semantic errors in the format string, will cause an exception to be thrown at runtime.
Note that the formatting for RealFloat types is
currently a bit different from that of C printf(3),
conforming instead to showEFloat,
showFFloat and showGFloat (and their
alternate versions showFFloatAlt and
showGFloatAlt). This is hard to fix: the fixed
versions would format in a backward-incompatible way.
In any case the Haskell behavior is generally more
sensible than the C behavior. A brief summary of some
key differences:
- Haskell
printfnever uses the default "6-digit" precision used by C printf. - Haskell
printftreats the "precision" specifier as indicating the number of digits after the decimal point. - Haskell
printfprints the exponent of e-format numbers without a gratuitous plus sign, and with the minimum possible number of digits. - Haskell
printfwill place a zero after a decimal point when possible.
class PrintfType t #
The PrintfType class provides the variable argument magic for
printf. Its implementation is intentionally not visible from
this module. If you attempt to pass an argument of a type which
is not an instance of this class to printf or hPrintf, then
the compiler will report it as a missing instance of PrintfArg.
Minimal complete definition
spr
Instances
| IsChar c => PrintfType [c] | Since: base-2.1 |
Defined in Text.Printf | |
| a ~ () => PrintfType (IO a) | Since: base-4.7.0.0 |
Defined in Text.Printf | |
| (PrintfArg a, PrintfType r) => PrintfType (a -> r) | Since: base-2.1 |
Defined in Text.Printf | |
class HPrintfType t #
The HPrintfType class provides the variable argument magic for
hPrintf. Its implementation is intentionally not visible from
this module.
Minimal complete definition
hspr
Instances
| a ~ () => HPrintfType (IO a) | Since: base-4.7.0.0 |
Defined in Text.Printf | |
| (PrintfArg a, HPrintfType r) => HPrintfType (a -> r) | Since: base-2.1 |
Defined in Text.Printf | |
Typeclass of printf-formattable values. The formatArg method
takes a value and a field format descriptor and either fails due
to a bad descriptor or produces a ShowS as the result. The
default parseFormat expects no modifiers: this is the normal
case. Minimal instance: formatArg.
Minimal complete definition
Methods
formatArg :: a -> FieldFormatter #
Since: base-4.7.0.0
parseFormat :: a -> ModifierParser #
Since: base-4.7.0.0
Instances
| PrintfArg Char | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Double | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Float | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Int | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Int8 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Int16 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Int32 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Int64 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Integer | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Natural | Since: base-4.8.0.0 |
Defined in Text.Printf | |
| PrintfArg Word | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Word8 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Word16 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Word32 | Since: base-2.1 |
Defined in Text.Printf | |
| PrintfArg Word64 | Since: base-2.1 |
Defined in Text.Printf | |
| IsChar c => PrintfArg [c] | Since: base-2.1 |
Defined in Text.Printf | |
| (PrintfArg Word64, n <= 64) => PrintfArg (B n) Source # | |
Defined in Data.Type.BitRecords.Core | |
data FormatAdjustment #
Whether to left-adjust or zero-pad a field. These are
mutually exclusive, with LeftAdjust taking precedence.
Since: base-4.7.0.0
Constructors
| LeftAdjust | |
| ZeroPad |
data FormatSign #
How to handle the sign of a numeric field. These are
mutually exclusive, with SignPlus taking precedence.
Since: base-4.7.0.0
data FieldFormat #
Description of field formatting for formatArg. See UNIX printf(3)
for a description of how field formatting works.
Since: base-4.7.0.0
Constructors
| FieldFormat | |
Fields
| |
data FormatParse #
The "format parser" walks over argument-type-specific modifier characters to find the primary format character. This is the type of its result.
Since: base-4.7.0.0
Constructors
| FormatParse | |
type FieldFormatter = FieldFormat -> ShowS #
This is the type of a field formatter reified over its argument.
Since: base-4.7.0.0
type ModifierParser = String -> FormatParse #
Type of a function that will parse modifier characters from the format string.
Since: base-4.7.0.0
traceMarkerIO :: String -> IO () #
The traceMarkerIO function emits a marker to the eventlog, if eventlog
profiling is available and enabled at runtime.
Compared to traceMarker, traceMarkerIO sequences the event with respect to
other IO actions.
Since: base-4.7.0.0
traceMarker :: String -> a -> a #
The traceMarker function emits a marker to the eventlog, if eventlog
profiling is available and enabled at runtime. The String is the name of
the marker. The name is just used in the profiling tools to help you keep
clear which marker is which.
This function is suitable for use in pure code. In an IO context use
traceMarkerIO instead.
Note that when using GHC's SMP runtime, it is possible (but rare) to get
duplicate events emitted if two CPUs simultaneously evaluate the same thunk
that uses traceMarker.
Since: base-4.7.0.0
traceEventIO :: String -> IO () #
The traceEventIO function emits a message to the eventlog, if eventlog
profiling is available and enabled at runtime.
Compared to traceEvent, traceEventIO sequences the event with respect to
other IO actions.
Since: base-4.5.0.0
traceEvent :: String -> a -> a #
The traceEvent function behaves like trace with the difference that
the message is emitted to the eventlog, if eventlog profiling is available
and enabled at runtime.
It is suitable for use in pure code. In an IO context use traceEventIO
instead.
Note that when using GHC's SMP runtime, it is possible (but rare) to get
duplicate events emitted if two CPUs simultaneously evaluate the same thunk
that uses traceEvent.
Since: base-4.5.0.0
traceStack :: String -> a -> a #
like trace, but additionally prints a call stack if one is
available.
In the current GHC implementation, the call stack is only
available if the program was compiled with -prof; otherwise
traceStack behaves exactly like trace. Entries in the call
stack correspond to SCC annotations, so it is a good idea to use
-fprof-auto or -fprof-auto-calls to add SCC annotations automatically.
Since: base-4.5.0.0
traceShowM :: (Show a, Applicative f) => a -> f () #
traceM :: Applicative f => String -> f () #
Like trace but returning unit in an arbitrary Applicative context. Allows
for convenient use in do-notation.
Note that the application of traceM is not an action in the Applicative
context, as traceIO is in the IO type. While the fresh bindings in the
following example will force the traceM expressions to be reduced every time
the do-block is executed, traceM "not crashed" would only be reduced once,
and the message would only be printed once. If your monad is in MonadIO,
liftIO . traceIO may be a better option.
>>>:{do x <- Just 3 traceM ("x: " ++ show x) y <- pure 12 traceM ("y: " ++ show y) pure (x*2 + y) :} x: 3 y: 12 Just 18
Since: base-4.7.0.0
traceShowId :: Show a => a -> a #
Like traceShow but returns the shown value instead of a third value.
>>>traceShowId (1+2+3, "hello" ++ "world")(6,"helloworld") (6,"helloworld")
Since: base-4.7.0.0
Like trace but returns the message instead of a third value.
>>>traceId "hello""hello hello"
Since: base-4.7.0.0
putTraceMsg :: String -> IO () #
The traceIO function outputs the trace message from the IO monad.
This sequences the output with respect to other IO actions.
Since: base-4.5.0.0
Maybe monoid returning the leftmost non-Nothing value.
is isomorphic to First a, but precedes it
historically.Alt Maybe a
>>>getFirst (First (Just "hello") <> First Nothing <> First (Just "world"))Just "hello"
Use of this type is discouraged. Note the following equivalence:
Data.Monoid.First x === Maybe (Data.Semigroup.First x)
In addition to being equivalent in the structural sense, the two
also have Monoid instances that behave the same. This type will
be marked deprecated in GHC 8.8, and removed in GHC 8.10.
Users are advised to use the variant from Data.Semigroup and wrap
it in Maybe.
Instances
| Monad First | Since: base-4.8.0.0 |
| Functor First | Since: base-4.8.0.0 |
| Applicative First | Since: base-4.8.0.0 |
| Foldable First | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => First m -> m # foldMap :: Monoid m => (a -> m) -> First a -> m # foldr :: (a -> b -> b) -> b -> First a -> b # foldr' :: (a -> b -> b) -> b -> First a -> b # foldl :: (b -> a -> b) -> b -> First a -> b # foldl' :: (b -> a -> b) -> b -> First a -> b # foldr1 :: (a -> a -> a) -> First a -> a # foldl1 :: (a -> a -> a) -> First a -> a # elem :: Eq a => a -> First a -> Bool # maximum :: Ord a => First a -> a # minimum :: Ord a => First a -> a # | |
| Traversable First | Since: base-4.8.0.0 |
| PTraversable First | |
| STraversable First | |
Defined in Data.Singletons.Prelude.Traversable Methods sTraverse :: SApplicative f => Sing t1 -> Sing t2 -> Sing (Apply (Apply TraverseSym0 t1) t2) # sSequenceA :: SApplicative f => Sing t1 -> Sing (Apply SequenceASym0 t1) # sMapM :: SMonad m => Sing t1 -> Sing t2 -> Sing (Apply (Apply MapMSym0 t1) t2) # sSequence :: SMonad m => Sing t1 -> Sing (Apply SequenceSym0 t1) # | |
| PFoldable First | |
| SFoldable First | |
Defined in Data.Singletons.Prelude.Foldable Methods sFold :: SMonoid m => Sing t1 -> Sing (Apply FoldSym0 t1) # sFoldMap :: SMonoid m => Sing t1 -> Sing t2 -> Sing (Apply (Apply FoldMapSym0 t1) t2) # sFoldr :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldrSym0 t1) t2) t3) # sFoldr' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldr'Sym0 t1) t2) t3) # sFoldl :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldlSym0 t1) t2) t3) # sFoldl' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldl'Sym0 t1) t2) t3) # sFoldr1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldr1Sym0 t1) t2) # sFoldl1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldl1Sym0 t1) t2) # sToList :: Sing t1 -> Sing (Apply ToListSym0 t1) # sNull :: Sing t1 -> Sing (Apply NullSym0 t1) # sLength :: Sing t1 -> Sing (Apply LengthSym0 t1) # sElem :: SEq a => Sing t1 -> Sing t2 -> Sing (Apply (Apply ElemSym0 t1) t2) # sMaximum :: SOrd a => Sing t1 -> Sing (Apply MaximumSym0 t1) # sMinimum :: SOrd a => Sing t1 -> Sing (Apply MinimumSym0 t1) # sSum :: SNum a => Sing t1 -> Sing (Apply SumSym0 t1) # sProduct :: SNum a => Sing t1 -> Sing (Apply ProductSym0 t1) # | |
| Eq a => Eq (First a) | Since: base-2.1 |
| Ord a => Ord (First a) | Since: base-2.1 |
| Read a => Read (First a) | Since: base-2.1 |
| Show a => Show (First a) | Since: base-2.1 |
| Generic (First a) | |
| Semigroup (First a) | Since: base-4.9.0.0 |
| Monoid (First a) | Since: base-2.1 |
| Default (First a) | |
Defined in Data.Default.Class | |
| PMonoid (First a) | |
| SMonoid (First a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| Generic1 First | |
| SuppressUnusedWarnings (FirstSym0 :: TyFun (Maybe a6989586621679072624) (First a6989586621679072624) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335234Sym0 :: TyFun Nat (First a6989586621679072624 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Pure_6989586621680338357Sym0 :: TyFun a6989586621679544265 (First a6989586621679544265) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680338429ASym0 :: TyFun a6989586621679072624 (First a6989586621679072624) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338433Sym0 :: TyFun (First a6989586621680338189) (First a6989586621680338189 ~> First a6989586621680338189) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a6989586621679072624) (Maybe a6989586621679072624) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621680333949Sym0 :: TyFun (First a6989586621679072624) (First a6989586621679072624 ~> Ordering) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SingI (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid | |
| SuppressUnusedWarnings (TFHelper_6989586621680338392Sym0 :: TyFun a6989586621679544262 (First b6989586621679544263 ~> First a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338433Sym1 a6989586621680338431 :: TyFun (First a6989586621680338189) (First a6989586621680338189) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338419Sym0 :: TyFun (First a6989586621679544289) ((a6989586621679544289 ~> First b6989586621679544290) ~> First b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335234Sym1 a6989586621680335231 a6989586621679072624 :: TyFun (First a6989586621679072624) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621680333949Sym1 a6989586621680333947 :: TyFun (First a6989586621679072624) Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338368Sym0 :: TyFun (First (a6989586621679544266 ~> b6989586621679544267)) (First a6989586621679544266 ~> First b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680450690Scrutinee_6989586621680450577Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680450691Sym0 :: TyFun (a6989586621679072624 ~> Bool) (TyFun k (TyFun a6989586621679072624 (First a6989586621679072624) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Foldr_6989586621680532713Sym0 :: TyFun (a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) (b6989586621680450323 ~> (First a6989586621680450322 ~> b6989586621680450323)) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FoldMap_6989586621680532686Sym0 :: TyFun (a6989586621680450321 ~> m6989586621680450320) (First a6989586621680450321 ~> m6989586621680450320) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621680338380Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (First a6989586621679544260 ~> First b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680450690Scrutinee_6989586621680450577Sym1 p6989586621680450688 :: TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680450691Sym1 p6989586621680450688 :: TyFun k (TyFun a6989586621679072624 (First a6989586621679072624) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Foldr_6989586621680532713Sym1 a6989586621680532710 :: TyFun b6989586621680450323 (First a6989586621680450322 ~> b6989586621680450323) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338402Sym0 :: TyFun k (TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FoldMap_6989586621680532686Sym1 a6989586621680532684 :: TyFun (First a6989586621680450321) m6989586621680450320 -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338392Sym1 a6989586621680338390 b6989586621679544263 :: TyFun (First b6989586621679544263) (First a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338368Sym1 a6989586621680338366 :: TyFun (First a6989586621679544266) (First b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621680338380Sym1 a6989586621680338378 :: TyFun (First a6989586621679544260) (First b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754107Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (First a6989586621680747832 ~> f6989586621680747831 (First b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338419Sym1 a6989586621680338417 b6989586621679544290 :: TyFun (a6989586621679544289 ~> First b6989586621679544290) (First b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680450691Sym2 y6989586621680450689 p6989586621680450688 :: TyFun a6989586621679072624 (First a6989586621679072624) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754107Sym1 a6989586621680754105 :: TyFun (First a6989586621680747832) (f6989586621680747831 (First b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Foldr_6989586621680532713Sym2 a6989586621680532711 a6989586621680532710 :: TyFun (First a6989586621680450322) b6989586621680450323 -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338402Sym1 a6989586621680338400 :: TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| type Product (arg :: First a) | |
| type Sum (arg :: First a) | |
| type Minimum (arg :: First a) | |
| type Maximum (arg :: First a) | |
| type Length (arg :: First a) | |
| type Null (arg :: First a) | |
| type ToList (arg :: First a) | |
| type Fold (arg :: First m) | |
| type Pure (a :: k1) | |
| type Fail arg | |
| type Return (arg :: a) | |
| type Sequence (arg :: First (m a)) | |
| type SequenceA (arg :: First (f a)) | |
| type Elem (arg1 :: a) (arg2 :: First a) | |
| type Foldl1 (arg1 :: a ~> (a ~> a)) (arg2 :: First a) | |
| type Foldr1 (arg1 :: a ~> (a ~> a)) (arg2 :: First a) | |
| type FoldMap (a1 :: a6989586621680450321 ~> k2) (a2 :: First a6989586621680450321) | |
| type (a1 :: k1) <$ (a2 :: First b6989586621679544263) | |
| type Fmap (a1 :: a6989586621679544260 ~> b6989586621679544261) (a2 :: First a6989586621679544260) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type (arg1 :: First a) <* (arg2 :: First b) | |
| type (arg1 :: First a) *> (arg2 :: First b) | |
| type (a1 :: First (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: First a6989586621679544266) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type (arg1 :: First a) >> (arg2 :: First b) | |
| type (a1 :: First a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> First b6989586621679544290) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type MapM (arg1 :: a ~> m b) (arg2 :: First a) | |
| type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: First a6989586621680747832) | |
Defined in Data.Singletons.Prelude.Traversable type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: First a6989586621680747832) = Apply (Apply (Traverse_6989586621680754107Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (First a6989586621680747832 ~> f6989586621680747831 (First b6989586621680747833)) -> Type) a1) a2 | |
| type Foldl' (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: First a) | |
| type Foldl (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: First a) | |
| type Foldr' (arg1 :: a ~> (b ~> b)) (arg2 :: b) (arg3 :: First a) | |
| type Foldr (a1 :: a6989586621680450322 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: First a6989586621680450322) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type LiftA2 (arg1 :: a ~> (b ~> c)) (arg2 :: First a) (arg3 :: First b) | |
| type Apply (Compare_6989586621680333949Sym1 a6989586621680333947 :: TyFun (First a) Ordering -> Type) (a6989586621680333948 :: First a) | |
| type Apply (FoldMap_6989586621680532686Sym1 a6989586621680532684 :: TyFun (First a) m -> Type) (a6989586621680532685 :: First a) | |
| type Apply (Foldr_6989586621680532713Sym2 a6989586621680532711 a6989586621680532710 :: TyFun (First a) b -> Type) (a6989586621680532712 :: First a) | |
| type Rep (First a) | Since: base-4.7.0.0 |
Defined in Data.Monoid | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| data Sing (b :: First a) | |
| type Demote (First a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Rep1 First | Since: base-4.7.0.0 |
Defined in Data.Monoid | |
| type Mconcat (arg :: [First a]) | |
| type Show_ (arg :: First a) | |
| type Sconcat (arg :: NonEmpty (First a)) | |
| type Mappend (arg1 :: First a) (arg2 :: First a) | |
| type ShowList (arg1 :: [First a]) arg2 | |
| type (a2 :: First a1) <> (a3 :: First a1) | |
| type Min (arg1 :: First a) (arg2 :: First a) | |
| type Max (arg1 :: First a) (arg2 :: First a) | |
| type (arg1 :: First a) >= (arg2 :: First a) | |
| type (arg1 :: First a) > (arg2 :: First a) | |
| type (arg1 :: First a) <= (arg2 :: First a) | |
| type (arg1 :: First a) < (arg2 :: First a) | |
| type Compare (a2 :: First a1) (a3 :: First a1) | |
| type (x :: First a) /= (y :: First a) | |
| type (a2 :: First a1) == (b :: First a1) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type ShowsPrec a2 (a3 :: First a1) a4 | |
| type Apply (Pure_6989586621680338357Sym0 :: TyFun a (First a) -> Type) (a6989586621680338356 :: a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Let6989586621680338429ASym0 :: TyFun a6989586621679072624 (First a6989586621679072624) -> Type) (wild_69895866216803382086989586621680338428 :: a6989586621679072624) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Lambda_6989586621680450691Sym2 y6989586621680450689 p6989586621680450688 :: TyFun a6989586621679072624 (First a6989586621679072624) -> Type) (t6989586621680450701 :: a6989586621679072624) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) (a6989586621680332307 :: First a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) (t6989586621680332310 :: Maybe a) | |
| type Apply (TFHelper_6989586621680338433Sym1 a6989586621680338431 :: TyFun (First a) (First a) -> Type) (a6989586621680338432 :: First a) | |
| type Apply (Let6989586621680450690Scrutinee_6989586621680450577Sym1 p6989586621680450688 :: TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) (y6989586621680450689 :: t6989586621680450318 a6989586621680450321) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680450690Scrutinee_6989586621680450577Sym1 p6989586621680450688 :: TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) (y6989586621680450689 :: t6989586621680450318 a6989586621680450321) = Let6989586621680450690Scrutinee_6989586621680450577 p6989586621680450688 y6989586621680450689 | |
| type Apply (TFHelper_6989586621680338368Sym1 a6989586621680338366 :: TyFun (First a) (First b) -> Type) (a6989586621680338367 :: First a) | |
| type Apply (Fmap_6989586621680338380Sym1 a6989586621680338378 :: TyFun (First a) (First b) -> Type) (a6989586621680338379 :: First a) | |
| type Apply (TFHelper_6989586621680338392Sym1 a6989586621680338390 b :: TyFun (First b) (First a) -> Type) (a6989586621680338391 :: First b) | |
| type Apply (Traverse_6989586621680754107Sym1 a6989586621680754105 :: TyFun (First a) (f (First b)) -> Type) (a6989586621680754106 :: First a) | |
| type Apply (TFHelper_6989586621680338419Sym1 a6989586621680338417 b :: TyFun (a ~> First b) (First b) -> Type) (a6989586621680338418 :: a ~> First b) | |
| type Apply (ShowsPrec_6989586621680335234Sym0 :: TyFun Nat (First a6989586621679072624 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680335231 :: Nat) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (TFHelper_6989586621680338392Sym0 :: TyFun a6989586621679544262 (First b6989586621679544263 ~> First a6989586621679544262) -> Type) (a6989586621680338390 :: a6989586621679544262) | |
Defined in Data.Singletons.Prelude.Monoid type Apply (TFHelper_6989586621680338392Sym0 :: TyFun a6989586621679544262 (First b6989586621679544263 ~> First a6989586621679544262) -> Type) (a6989586621680338390 :: a6989586621679544262) = (TFHelper_6989586621680338392Sym1 a6989586621680338390 b6989586621679544263 :: TyFun (First b6989586621679544263) (First a6989586621679544262) -> Type) | |
| type Apply (Lambda_6989586621680450691Sym1 p6989586621680450688 :: TyFun k (TyFun a6989586621679072624 (First a6989586621679072624) -> Type) -> Type) (y6989586621680450689 :: k) | |
| type Apply (Lambda_6989586621680338402Sym0 :: TyFun k (TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) (a6989586621680338400 :: k) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Foldr_6989586621680532713Sym1 a6989586621680532710 :: TyFun b6989586621680450323 (First a6989586621680450322 ~> b6989586621680450323) -> Type) (a6989586621680532711 :: b6989586621680450323) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Compare_6989586621680333949Sym0 :: TyFun (First a6989586621679072624) (First a6989586621679072624 ~> Ordering) -> Type) (a6989586621680333947 :: First a6989586621679072624) | |
| type Apply (TFHelper_6989586621680338433Sym0 :: TyFun (First a6989586621680338189) (First a6989586621680338189 ~> First a6989586621680338189) -> Type) (a6989586621680338431 :: First a6989586621680338189) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (ShowsPrec_6989586621680335234Sym1 a6989586621680335231 a6989586621679072624 :: TyFun (First a6989586621679072624) (Symbol ~> Symbol) -> Type) (a6989586621680335232 :: First a6989586621679072624) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (TFHelper_6989586621680338368Sym0 :: TyFun (First (a6989586621679544266 ~> b6989586621679544267)) (First a6989586621679544266 ~> First b6989586621679544267) -> Type) (a6989586621680338366 :: First (a6989586621679544266 ~> b6989586621679544267)) | |
Defined in Data.Singletons.Prelude.Monoid type Apply (TFHelper_6989586621680338368Sym0 :: TyFun (First (a6989586621679544266 ~> b6989586621679544267)) (First a6989586621679544266 ~> First b6989586621679544267) -> Type) (a6989586621680338366 :: First (a6989586621679544266 ~> b6989586621679544267)) = TFHelper_6989586621680338368Sym1 a6989586621680338366 | |
| type Apply (TFHelper_6989586621680338419Sym0 :: TyFun (First a6989586621679544289) ((a6989586621679544289 ~> First b6989586621679544290) ~> First b6989586621679544290) -> Type) (a6989586621680338417 :: First a6989586621679544289) | |
Defined in Data.Singletons.Prelude.Monoid type Apply (TFHelper_6989586621680338419Sym0 :: TyFun (First a6989586621679544289) ((a6989586621679544289 ~> First b6989586621679544290) ~> First b6989586621679544290) -> Type) (a6989586621680338417 :: First a6989586621679544289) = (TFHelper_6989586621680338419Sym1 a6989586621680338417 b6989586621679544290 :: TyFun (a6989586621679544289 ~> First b6989586621679544290) (First b6989586621679544290) -> Type) | |
| type Apply (Lambda_6989586621680450691Sym0 :: TyFun (a6989586621679072624 ~> Bool) (TyFun k (TyFun a6989586621679072624 (First a6989586621679072624) -> Type) -> Type) -> Type) (p6989586621680450688 :: a6989586621679072624 ~> Bool) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Lambda_6989586621680450691Sym0 :: TyFun (a6989586621679072624 ~> Bool) (TyFun k (TyFun a6989586621679072624 (First a6989586621679072624) -> Type) -> Type) -> Type) (p6989586621680450688 :: a6989586621679072624 ~> Bool) = (Lambda_6989586621680450691Sym1 p6989586621680450688 :: TyFun k (TyFun a6989586621679072624 (First a6989586621679072624) -> Type) -> Type) | |
| type Apply (Let6989586621680450690Scrutinee_6989586621680450577Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) -> Type) (p6989586621680450688 :: a6989586621680450321 ~> Bool) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680450690Scrutinee_6989586621680450577Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) -> Type) (p6989586621680450688 :: a6989586621680450321 ~> Bool) = (Let6989586621680450690Scrutinee_6989586621680450577Sym1 p6989586621680450688 :: TyFun (t6989586621680450318 a6989586621680450321) (First a6989586621680450321) -> Type) | |
| type Apply (Foldr_6989586621680532713Sym0 :: TyFun (a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) (b6989586621680450323 ~> (First a6989586621680450322 ~> b6989586621680450323)) -> Type) (a6989586621680532710 :: a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Foldr_6989586621680532713Sym0 :: TyFun (a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) (b6989586621680450323 ~> (First a6989586621680450322 ~> b6989586621680450323)) -> Type) (a6989586621680532710 :: a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) = Foldr_6989586621680532713Sym1 a6989586621680532710 | |
| type Apply (FoldMap_6989586621680532686Sym0 :: TyFun (a6989586621680450321 ~> m6989586621680450320) (First a6989586621680450321 ~> m6989586621680450320) -> Type) (a6989586621680532684 :: a6989586621680450321 ~> m6989586621680450320) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Fmap_6989586621680338380Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (First a6989586621679544260 ~> First b6989586621679544261) -> Type) (a6989586621680338378 :: a6989586621679544260 ~> b6989586621679544261) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Traverse_6989586621680754107Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (First a6989586621680747832 ~> f6989586621680747831 (First b6989586621680747833)) -> Type) (a6989586621680754105 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) | |
Defined in Data.Singletons.Prelude.Traversable type Apply (Traverse_6989586621680754107Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (First a6989586621680747832 ~> f6989586621680747831 (First b6989586621680747833)) -> Type) (a6989586621680754105 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) = Traverse_6989586621680754107Sym1 a6989586621680754105 | |
| type Apply (Lambda_6989586621680338402Sym1 a6989586621680338400 :: TyFun (k1 ~> First a) (TyFun k1 (Maybe a) -> Type) -> Type) (k6989586621680338401 :: k1 ~> First a) | |
Maybe monoid returning the rightmost non-Nothing value.
is isomorphic to Last a, and thus to
Dual (First a)Dual (Alt Maybe a)
>>>getLast (Last (Just "hello") <> Last Nothing <> Last (Just "world"))Just "world"
Use of this type is discouraged. Note the following equivalence:
Data.Monoid.Last x === Maybe (Data.Semigroup.Last x)
In addition to being equivalent in the structural sense, the two
also have Monoid instances that behave the same. This type will
be marked deprecated in GHC 8.8, and removed in GHC 8.10.
Users are advised to use the variant from Data.Semigroup and wrap
it in Maybe.
Instances
| Monad Last | Since: base-4.8.0.0 |
| Functor Last | Since: base-4.8.0.0 |
| Applicative Last | Since: base-4.8.0.0 |
| Foldable Last | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Last m -> m # foldMap :: Monoid m => (a -> m) -> Last a -> m # foldr :: (a -> b -> b) -> b -> Last a -> b # foldr' :: (a -> b -> b) -> b -> Last a -> b # foldl :: (b -> a -> b) -> b -> Last a -> b # foldl' :: (b -> a -> b) -> b -> Last a -> b # foldr1 :: (a -> a -> a) -> Last a -> a # foldl1 :: (a -> a -> a) -> Last a -> a # elem :: Eq a => a -> Last a -> Bool # maximum :: Ord a => Last a -> a # | |
| Traversable Last | Since: base-4.8.0.0 |
| PTraversable Last | |
| STraversable Last | |
Defined in Data.Singletons.Prelude.Traversable Methods sTraverse :: SApplicative f => Sing t1 -> Sing t2 -> Sing (Apply (Apply TraverseSym0 t1) t2) # sSequenceA :: SApplicative f => Sing t1 -> Sing (Apply SequenceASym0 t1) # sMapM :: SMonad m => Sing t1 -> Sing t2 -> Sing (Apply (Apply MapMSym0 t1) t2) # sSequence :: SMonad m => Sing t1 -> Sing (Apply SequenceSym0 t1) # | |
| PFoldable Last | |
| SFoldable Last | |
Defined in Data.Singletons.Prelude.Foldable Methods sFold :: SMonoid m => Sing t1 -> Sing (Apply FoldSym0 t1) # sFoldMap :: SMonoid m => Sing t1 -> Sing t2 -> Sing (Apply (Apply FoldMapSym0 t1) t2) # sFoldr :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldrSym0 t1) t2) t3) # sFoldr' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldr'Sym0 t1) t2) t3) # sFoldl :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldlSym0 t1) t2) t3) # sFoldl' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldl'Sym0 t1) t2) t3) # sFoldr1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldr1Sym0 t1) t2) # sFoldl1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldl1Sym0 t1) t2) # sToList :: Sing t1 -> Sing (Apply ToListSym0 t1) # sNull :: Sing t1 -> Sing (Apply NullSym0 t1) # sLength :: Sing t1 -> Sing (Apply LengthSym0 t1) # sElem :: SEq a => Sing t1 -> Sing t2 -> Sing (Apply (Apply ElemSym0 t1) t2) # sMaximum :: SOrd a => Sing t1 -> Sing (Apply MaximumSym0 t1) # sMinimum :: SOrd a => Sing t1 -> Sing (Apply MinimumSym0 t1) # sSum :: SNum a => Sing t1 -> Sing (Apply SumSym0 t1) # sProduct :: SNum a => Sing t1 -> Sing (Apply ProductSym0 t1) # | |
| Eq a => Eq (Last a) | Since: base-2.1 |
| Ord a => Ord (Last a) | Since: base-2.1 |
| Read a => Read (Last a) | Since: base-2.1 |
| Show a => Show (Last a) | Since: base-2.1 |
| Generic (Last a) | |
| Semigroup (Last a) | Since: base-4.9.0.0 |
| Monoid (Last a) | Since: base-2.1 |
| Default (Last a) | |
Defined in Data.Default.Class | |
| PMonoid (Last a) | |
| SMonoid (Last a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| Generic1 Last | |
| SuppressUnusedWarnings (LastSym0 :: TyFun (Maybe a6989586621679072619) (Last a6989586621679072619) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335263Sym0 :: TyFun Nat (Last a6989586621679072619 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Pure_6989586621680338445Sym0 :: TyFun a6989586621679544265 (Last a6989586621679544265) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680338517BSym0 :: TyFun a6989586621679072619 (Last a6989586621679072619) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338521Sym0 :: TyFun (Last a6989586621680338199) (Last a6989586621680338199 ~> Last a6989586621680338199) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a6989586621679072619) (Maybe a6989586621679072619) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621680333970Sym0 :: TyFun (Last a6989586621679072619) (Last a6989586621679072619 ~> Ordering) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SingI (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid | |
| SuppressUnusedWarnings (TFHelper_6989586621680338480Sym0 :: TyFun a6989586621679544262 (Last b6989586621679544263 ~> Last a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338521Sym1 a6989586621680338519 :: TyFun (Last a6989586621680338199) (Last a6989586621680338199) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338507Sym0 :: TyFun (Last a6989586621679544289) ((a6989586621679544289 ~> Last b6989586621679544290) ~> Last b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680335263Sym1 a6989586621680335260 a6989586621679072619 :: TyFun (Last a6989586621679072619) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621680333970Sym1 a6989586621680333968 :: TyFun (Last a6989586621679072619) Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338456Sym0 :: TyFun (Last (a6989586621679544266 ~> b6989586621679544267)) (Last a6989586621679544266 ~> Last b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Foldr_6989586621680532753Sym0 :: TyFun (a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) (b6989586621680450323 ~> (Last a6989586621680450322 ~> b6989586621680450323)) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FoldMap_6989586621680532726Sym0 :: TyFun (a6989586621680450321 ~> m6989586621680450320) (Last a6989586621680450321 ~> m6989586621680450320) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621680338468Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Last a6989586621679544260 ~> Last b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Foldr_6989586621680532753Sym1 a6989586621680532750 :: TyFun b6989586621680450323 (Last a6989586621680450322 ~> b6989586621680450323) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338490Sym0 :: TyFun k (TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (FoldMap_6989586621680532726Sym1 a6989586621680532724 :: TyFun (Last a6989586621680450321) m6989586621680450320 -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338480Sym1 a6989586621680338478 b6989586621679544263 :: TyFun (Last b6989586621679544263) (Last a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338456Sym1 a6989586621680338454 :: TyFun (Last a6989586621679544266) (Last b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621680338468Sym1 a6989586621680338466 :: TyFun (Last a6989586621679544260) (Last b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754119Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Last a6989586621680747832 ~> f6989586621680747831 (Last b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621680338507Sym1 a6989586621680338505 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Last b6989586621679544290) (Last b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754119Sym1 a6989586621680754117 :: TyFun (Last a6989586621680747832) (f6989586621680747831 (Last b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Foldr_6989586621680532753Sym2 a6989586621680532751 a6989586621680532750 :: TyFun (Last a6989586621680450322) b6989586621680450323 -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Lambda_6989586621680338490Sym1 a6989586621680338488 :: TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Monoid Methods suppressUnusedWarnings :: () # | |
| type Product (arg :: Last a) | |
| type Sum (arg :: Last a) | |
| type Minimum (arg :: Last a) | |
| type Maximum (arg :: Last a) | |
| type Length (arg :: Last a) | |
| type Null (arg :: Last a) | |
| type ToList (arg :: Last a) | |
| type Fold (arg :: Last m) | |
| type Pure (a :: k1) | |
| type Fail arg | |
| type Return (arg :: a) | |
| type Sequence (arg :: Last (m a)) | |
| type SequenceA (arg :: Last (f a)) | |
| type Elem (arg1 :: a) (arg2 :: Last a) | |
| type Foldl1 (arg1 :: a ~> (a ~> a)) (arg2 :: Last a) | |
| type Foldr1 (arg1 :: a ~> (a ~> a)) (arg2 :: Last a) | |
| type FoldMap (a1 :: a6989586621680450321 ~> k2) (a2 :: Last a6989586621680450321) | |
| type (a1 :: k1) <$ (a2 :: Last b6989586621679544263) | |
| type Fmap (a1 :: a6989586621679544260 ~> b6989586621679544261) (a2 :: Last a6989586621679544260) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type (arg1 :: Last a) <* (arg2 :: Last b) | |
| type (arg1 :: Last a) *> (arg2 :: Last b) | |
| type (a1 :: Last (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: Last a6989586621679544266) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type (arg1 :: Last a) >> (arg2 :: Last b) | |
| type (a1 :: Last a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> Last b6989586621679544290) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type MapM (arg1 :: a ~> m b) (arg2 :: Last a) | |
| type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Last a6989586621680747832) | |
Defined in Data.Singletons.Prelude.Traversable type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Last a6989586621680747832) = Apply (Apply (Traverse_6989586621680754119Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Last a6989586621680747832 ~> f6989586621680747831 (Last b6989586621680747833)) -> Type) a1) a2 | |
| type Foldl' (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: Last a) | |
| type Foldl (arg1 :: b ~> (a ~> b)) (arg2 :: b) (arg3 :: Last a) | |
| type Foldr' (arg1 :: a ~> (b ~> b)) (arg2 :: b) (arg3 :: Last a) | |
| type Foldr (a1 :: a6989586621680450322 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Last a6989586621680450322) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type LiftA2 (arg1 :: a ~> (b ~> c)) (arg2 :: Last a) (arg3 :: Last b) | |
| type Apply (Compare_6989586621680333970Sym1 a6989586621680333968 :: TyFun (Last a) Ordering -> Type) (a6989586621680333969 :: Last a) | |
| type Apply (FoldMap_6989586621680532726Sym1 a6989586621680532724 :: TyFun (Last a) m -> Type) (a6989586621680532725 :: Last a) | |
| type Apply (Foldr_6989586621680532753Sym2 a6989586621680532751 a6989586621680532750 :: TyFun (Last a) b -> Type) (a6989586621680532752 :: Last a) | |
| type Rep (Last a) | Since: base-4.7.0.0 |
Defined in Data.Monoid | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| data Sing (b :: Last a) | |
| type Demote (Last a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Rep1 Last | Since: base-4.7.0.0 |
Defined in Data.Monoid | |
| type Mconcat (arg :: [Last a]) | |
| type Show_ (arg :: Last a) | |
| type Sconcat (arg :: NonEmpty (Last a)) | |
| type Mappend (arg1 :: Last a) (arg2 :: Last a) | |
| type ShowList (arg1 :: [Last a]) arg2 | |
| type (a2 :: Last a1) <> (a3 :: Last a1) | |
| type Min (arg1 :: Last a) (arg2 :: Last a) | |
| type Max (arg1 :: Last a) (arg2 :: Last a) | |
| type (arg1 :: Last a) >= (arg2 :: Last a) | |
| type (arg1 :: Last a) > (arg2 :: Last a) | |
| type (arg1 :: Last a) <= (arg2 :: Last a) | |
| type (arg1 :: Last a) < (arg2 :: Last a) | |
| type Compare (a2 :: Last a1) (a3 :: Last a1) | |
| type (x :: Last a) /= (y :: Last a) | |
| type (a2 :: Last a1) == (b :: Last a1) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type ShowsPrec a2 (a3 :: Last a1) a4 | |
| type Apply (Pure_6989586621680338445Sym0 :: TyFun a (Last a) -> Type) (a6989586621680338444 :: a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Let6989586621680338517BSym0 :: TyFun a6989586621679072619 (Last a6989586621679072619) -> Type) (wild_69895866216803382156989586621680338516 :: a6989586621679072619) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) (a6989586621680332328 :: Last a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) (t6989586621680332331 :: Maybe a) | |
| type Apply (TFHelper_6989586621680338521Sym1 a6989586621680338519 :: TyFun (Last a) (Last a) -> Type) (a6989586621680338520 :: Last a) | |
| type Apply (TFHelper_6989586621680338456Sym1 a6989586621680338454 :: TyFun (Last a) (Last b) -> Type) (a6989586621680338455 :: Last a) | |
| type Apply (Fmap_6989586621680338468Sym1 a6989586621680338466 :: TyFun (Last a) (Last b) -> Type) (a6989586621680338467 :: Last a) | |
| type Apply (TFHelper_6989586621680338480Sym1 a6989586621680338478 b :: TyFun (Last b) (Last a) -> Type) (a6989586621680338479 :: Last b) | |
| type Apply (Traverse_6989586621680754119Sym1 a6989586621680754117 :: TyFun (Last a) (f (Last b)) -> Type) (a6989586621680754118 :: Last a) | |
| type Apply (TFHelper_6989586621680338507Sym1 a6989586621680338505 b :: TyFun (a ~> Last b) (Last b) -> Type) (a6989586621680338506 :: a ~> Last b) | |
| type Apply (ShowsPrec_6989586621680335263Sym0 :: TyFun Nat (Last a6989586621679072619 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680335260 :: Nat) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (TFHelper_6989586621680338480Sym0 :: TyFun a6989586621679544262 (Last b6989586621679544263 ~> Last a6989586621679544262) -> Type) (a6989586621680338478 :: a6989586621679544262) | |
Defined in Data.Singletons.Prelude.Monoid type Apply (TFHelper_6989586621680338480Sym0 :: TyFun a6989586621679544262 (Last b6989586621679544263 ~> Last a6989586621679544262) -> Type) (a6989586621680338478 :: a6989586621679544262) = (TFHelper_6989586621680338480Sym1 a6989586621680338478 b6989586621679544263 :: TyFun (Last b6989586621679544263) (Last a6989586621679544262) -> Type) | |
| type Apply (Lambda_6989586621680338490Sym0 :: TyFun k (TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) -> Type) (a6989586621680338488 :: k) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Foldr_6989586621680532753Sym1 a6989586621680532750 :: TyFun b6989586621680450323 (Last a6989586621680450322 ~> b6989586621680450323) -> Type) (a6989586621680532751 :: b6989586621680450323) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Compare_6989586621680333970Sym0 :: TyFun (Last a6989586621679072619) (Last a6989586621679072619 ~> Ordering) -> Type) (a6989586621680333968 :: Last a6989586621679072619) | |
| type Apply (TFHelper_6989586621680338521Sym0 :: TyFun (Last a6989586621680338199) (Last a6989586621680338199 ~> Last a6989586621680338199) -> Type) (a6989586621680338519 :: Last a6989586621680338199) | |
| type Apply (ShowsPrec_6989586621680335263Sym1 a6989586621680335260 a6989586621679072619 :: TyFun (Last a6989586621679072619) (Symbol ~> Symbol) -> Type) (a6989586621680335261 :: Last a6989586621679072619) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (TFHelper_6989586621680338456Sym0 :: TyFun (Last (a6989586621679544266 ~> b6989586621679544267)) (Last a6989586621679544266 ~> Last b6989586621679544267) -> Type) (a6989586621680338454 :: Last (a6989586621679544266 ~> b6989586621679544267)) | |
Defined in Data.Singletons.Prelude.Monoid type Apply (TFHelper_6989586621680338456Sym0 :: TyFun (Last (a6989586621679544266 ~> b6989586621679544267)) (Last a6989586621679544266 ~> Last b6989586621679544267) -> Type) (a6989586621680338454 :: Last (a6989586621679544266 ~> b6989586621679544267)) = TFHelper_6989586621680338456Sym1 a6989586621680338454 | |
| type Apply (TFHelper_6989586621680338507Sym0 :: TyFun (Last a6989586621679544289) ((a6989586621679544289 ~> Last b6989586621679544290) ~> Last b6989586621679544290) -> Type) (a6989586621680338505 :: Last a6989586621679544289) | |
Defined in Data.Singletons.Prelude.Monoid type Apply (TFHelper_6989586621680338507Sym0 :: TyFun (Last a6989586621679544289) ((a6989586621679544289 ~> Last b6989586621679544290) ~> Last b6989586621679544290) -> Type) (a6989586621680338505 :: Last a6989586621679544289) = (TFHelper_6989586621680338507Sym1 a6989586621680338505 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Last b6989586621679544290) (Last b6989586621679544290) -> Type) | |
| type Apply (Foldr_6989586621680532753Sym0 :: TyFun (a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) (b6989586621680450323 ~> (Last a6989586621680450322 ~> b6989586621680450323)) -> Type) (a6989586621680532750 :: a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Foldr_6989586621680532753Sym0 :: TyFun (a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) (b6989586621680450323 ~> (Last a6989586621680450322 ~> b6989586621680450323)) -> Type) (a6989586621680532750 :: a6989586621680450322 ~> (b6989586621680450323 ~> b6989586621680450323)) = Foldr_6989586621680532753Sym1 a6989586621680532750 | |
| type Apply (FoldMap_6989586621680532726Sym0 :: TyFun (a6989586621680450321 ~> m6989586621680450320) (Last a6989586621680450321 ~> m6989586621680450320) -> Type) (a6989586621680532724 :: a6989586621680450321 ~> m6989586621680450320) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (Fmap_6989586621680338468Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Last a6989586621679544260 ~> Last b6989586621679544261) -> Type) (a6989586621680338466 :: a6989586621679544260 ~> b6989586621679544261) | |
Defined in Data.Singletons.Prelude.Monoid | |
| type Apply (Traverse_6989586621680754119Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Last a6989586621680747832 ~> f6989586621680747831 (Last b6989586621680747833)) -> Type) (a6989586621680754117 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) | |
Defined in Data.Singletons.Prelude.Traversable type Apply (Traverse_6989586621680754119Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Last a6989586621680747832 ~> f6989586621680747831 (Last b6989586621680747833)) -> Type) (a6989586621680754117 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) = Traverse_6989586621680754119Sym1 a6989586621680754117 | |
| type Apply (Lambda_6989586621680338490Sym1 a6989586621680338488 :: TyFun (k1 ~> Last a) (TyFun k1 (Maybe a) -> Type) -> Type) (k6989586621680338489 :: k1 ~> Last a) | |
newtype Ap (f :: k -> Type) (a :: k) :: forall k. (k -> Type) -> k -> Type #
This data type witnesses the lifting of a Monoid into an
Applicative pointwise.
Since: base-4.12.0.0
Instances
| Generic1 (Ap f :: k -> Type) | |
| Monad f => Monad (Ap f) | Since: base-4.12.0.0 |
| Functor f => Functor (Ap f) | Since: base-4.12.0.0 |
| MonadFail f => MonadFail (Ap f) | Since: base-4.12.0.0 |
Defined in Data.Monoid | |
| Applicative f => Applicative (Ap f) | Since: base-4.12.0.0 |
| Foldable f => Foldable (Ap f) | Since: base-4.12.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Ap f m -> m # foldMap :: Monoid m => (a -> m) -> Ap f a -> m # foldr :: (a -> b -> b) -> b -> Ap f a -> b # foldr' :: (a -> b -> b) -> b -> Ap f a -> b # foldl :: (b -> a -> b) -> b -> Ap f a -> b # foldl' :: (b -> a -> b) -> b -> Ap f a -> b # foldr1 :: (a -> a -> a) -> Ap f a -> a # foldl1 :: (a -> a -> a) -> Ap f a -> a # elem :: Eq a => a -> Ap f a -> Bool # maximum :: Ord a => Ap f a -> a # | |
| Traversable f => Traversable (Ap f) | Since: base-4.12.0.0 |
| Alternative f => Alternative (Ap f) | Since: base-4.12.0.0 |
| MonadPlus f => MonadPlus (Ap f) | Since: base-4.12.0.0 |
| (Applicative f, Bounded a) => Bounded (Ap f a) | Since: base-4.12.0.0 |
| Enum (f a) => Enum (Ap f a) | Since: base-4.12.0.0 |
Defined in Data.Monoid | |
| Eq (f a) => Eq (Ap f a) | Since: base-4.12.0.0 |
| (Applicative f, Num a) => Num (Ap f a) | Since: base-4.12.0.0 |
| Ord (f a) => Ord (Ap f a) | Since: base-4.12.0.0 |
| Read (f a) => Read (Ap f a) | Since: base-4.12.0.0 |
| Show (f a) => Show (Ap f a) | Since: base-4.12.0.0 |
| Generic (Ap f a) | |
| (Applicative f, Semigroup a) => Semigroup (Ap f a) | Since: base-4.12.0.0 |
| (Applicative f, Monoid a) => Monoid (Ap f a) | Since: base-4.12.0.0 |
| type Rep1 (Ap f :: k -> Type) | Since: base-4.12.0.0 |
Defined in Data.Monoid | |
| type Rep (Ap f a) | Since: base-4.12.0.0 |
Defined in Data.Monoid | |
The dual of a Monoid, obtained by swapping the arguments of mappend.
>>>getDual (mappend (Dual "Hello") (Dual "World"))"WorldHello"
Instances
| Monad Dual | Since: base-4.8.0.0 |
| Functor Dual | Since: base-4.8.0.0 |
| Applicative Dual | Since: base-4.8.0.0 |
| Foldable Dual | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Dual m -> m # foldMap :: Monoid m => (a -> m) -> Dual a -> m # foldr :: (a -> b -> b) -> b -> Dual a -> b # foldr' :: (a -> b -> b) -> b -> Dual a -> b # foldl :: (b -> a -> b) -> b -> Dual a -> b # foldl' :: (b -> a -> b) -> b -> Dual a -> b # foldr1 :: (a -> a -> a) -> Dual a -> a # foldl1 :: (a -> a -> a) -> Dual a -> a # elem :: Eq a => a -> Dual a -> Bool # maximum :: Ord a => Dual a -> a # | |
| Traversable Dual | Since: base-4.8.0.0 |
| PTraversable Dual | |
| STraversable Dual | |
Defined in Data.Singletons.Prelude.Traversable Methods sTraverse :: SApplicative f => Sing t1 -> Sing t2 -> Sing (Apply (Apply TraverseSym0 t1) t2) # sSequenceA :: SApplicative f => Sing t1 -> Sing (Apply SequenceASym0 t1) # sMapM :: SMonad m => Sing t1 -> Sing t2 -> Sing (Apply (Apply MapMSym0 t1) t2) # sSequence :: SMonad m => Sing t1 -> Sing (Apply SequenceSym0 t1) # | |
| PFoldable Dual | |
| SFoldable Dual | |
Defined in Data.Singletons.Prelude.Foldable Methods sFold :: SMonoid m => Sing t1 -> Sing (Apply FoldSym0 t1) # sFoldMap :: SMonoid m => Sing t1 -> Sing t2 -> Sing (Apply (Apply FoldMapSym0 t1) t2) # sFoldr :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldrSym0 t1) t2) t3) # sFoldr' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldr'Sym0 t1) t2) t3) # sFoldl :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldlSym0 t1) t2) t3) # sFoldl' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldl'Sym0 t1) t2) t3) # sFoldr1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldr1Sym0 t1) t2) # sFoldl1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldl1Sym0 t1) t2) # sToList :: Sing t1 -> Sing (Apply ToListSym0 t1) # sNull :: Sing t1 -> Sing (Apply NullSym0 t1) # sLength :: Sing t1 -> Sing (Apply LengthSym0 t1) # sElem :: SEq a => Sing t1 -> Sing t2 -> Sing (Apply (Apply ElemSym0 t1) t2) # sMaximum :: SOrd a => Sing t1 -> Sing (Apply MaximumSym0 t1) # sMinimum :: SOrd a => Sing t1 -> Sing (Apply MinimumSym0 t1) # sSum :: SNum a => Sing t1 -> Sing (Apply SumSym0 t1) # sProduct :: SNum a => Sing t1 -> Sing (Apply ProductSym0 t1) # | |
| Bounded a => Bounded (Dual a) | Since: base-2.1 |
| Eq a => Eq (Dual a) | Since: base-2.1 |
| Ord a => Ord (Dual a) | Since: base-2.1 |
| Read a => Read (Dual a) | Since: base-2.1 |
| Show a => Show (Dual a) | Since: base-2.1 |
| Generic (Dual a) | |
| Semigroup a => Semigroup (Dual a) | Since: base-4.9.0.0 |
| Monoid a => Monoid (Dual a) | Since: base-2.1 |
| Default a => Default (Dual a) | |
Defined in Data.Default.Class | |
| PMonoid (Dual a) | |
| SMonoid a => SMonoid (Dual a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| PSemigroup (Dual a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SSemigroup a => SSemigroup (Dual a) | |
| Generic1 Dual | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865175Sym0 :: TyFun Nat (Dual a6989586621679072595 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Pure_6989586621679837713Sym0 :: TyFun a6989586621679544265 (Dual a6989586621679544265) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (DualSym0 :: TyFun a6989586621679072595 (Dual a6989586621679072595) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837779Sym0 :: TyFun (Dual a6989586621679837570) (Dual a6989586621679837570 ~> Dual a6989586621679837570) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetDualSym0 :: TyFun (Dual a6989586621679072595) a6989586621679072595 -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829373Sym0 :: TyFun (Dual a6989586621679072595) (Dual a6989586621679072595 ~> Ordering) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SingI (DualSym0 :: TyFun a (Dual a) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SuppressUnusedWarnings (TFHelper_6989586621679837755Sym0 :: TyFun a6989586621679544262 (Dual b6989586621679544263 ~> Dual a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865175Sym1 a6989586621680865172 a6989586621679072595 :: TyFun (Dual a6989586621679072595) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837779Sym1 a6989586621679837777 :: TyFun (Dual a6989586621679837570) (Dual a6989586621679837570) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837767Sym0 :: TyFun (Dual a6989586621679544289) ((a6989586621679544289 ~> Dual b6989586621679544290) ~> Dual b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829373Sym1 a6989586621679829371 :: TyFun (Dual a6989586621679072595) Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837724Sym0 :: TyFun (Dual (a6989586621679544266 ~> b6989586621679544267)) (Dual a6989586621679544266 ~> Dual b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679837736Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Dual a6989586621679544260 ~> Dual b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837755Sym1 a6989586621679837753 b6989586621679544263 :: TyFun (Dual b6989586621679544263) (Dual a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837724Sym1 a6989586621679837722 :: TyFun (Dual a6989586621679544266) (Dual b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679837736Sym1 a6989586621679837734 :: TyFun (Dual a6989586621679544260) (Dual b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754071Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Dual a6989586621680747832 ~> f6989586621680747831 (Dual b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837767Sym1 a6989586621679837765 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Dual b6989586621679544290) (Dual b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754071Sym1 a6989586621680754069 :: TyFun (Dual a6989586621680747832) (f6989586621680747831 (Dual b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451084Scrutinee_6989586621680450533Sym0 :: TyFun (a ~> (a6989586621680450321 ~> a)) (TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451084Scrutinee_6989586621680450533Sym1 f6989586621680451081 :: TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680451084Scrutinee_6989586621680450533Sym2 z6989586621680451082 f6989586621680451081 :: TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| type Product (a :: Dual k2) | |
| type Sum (a :: Dual k2) | |
| type Minimum (a :: Dual k2) | |
| type Maximum (a :: Dual k2) | |
| type Length (a :: Dual a6989586621680450334) | |
| type Null (a :: Dual a6989586621680450333) | |
| type ToList (a :: Dual a6989586621680450332) | |
| type Fold (arg :: Dual m) | |
| type Pure (a :: k1) | |
| type Fail arg | |
| type Return (arg :: a) | |
| type Sequence (arg :: Dual (m a)) | |
| type SequenceA (arg :: Dual (f a)) | |
| type Elem (a1 :: k1) (a2 :: Dual k1) | |
| type Foldl1 (a1 :: k2 ~> (k2 ~> k2)) (a2 :: Dual k2) | |
| type Foldr1 (a1 :: k2 ~> (k2 ~> k2)) (a2 :: Dual k2) | |
| type FoldMap (a1 :: a6989586621680450321 ~> k2) (a2 :: Dual a6989586621680450321) | |
| type (a1 :: k1) <$ (a2 :: Dual b6989586621679544263) | |
| type Fmap (a1 :: a6989586621679544260 ~> b6989586621679544261) (a2 :: Dual a6989586621679544260) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type (arg1 :: Dual a) <* (arg2 :: Dual b) | |
| type (arg1 :: Dual a) *> (arg2 :: Dual b) | |
| type (a1 :: Dual (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: Dual a6989586621679544266) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type (arg1 :: Dual a) >> (arg2 :: Dual b) | |
| type (a1 :: Dual a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> Dual b6989586621679544290) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type MapM (arg1 :: a ~> m b) (arg2 :: Dual a) | |
| type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Dual a6989586621680747832) | |
Defined in Data.Singletons.Prelude.Traversable type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Dual a6989586621680747832) = Apply (Apply (Traverse_6989586621680754071Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Dual a6989586621680747832 ~> f6989586621680747831 (Dual b6989586621680747833)) -> Type) a1) a2 | |
| type Foldl' (a1 :: k2 ~> (a6989586621680450329 ~> k2)) (a2 :: k2) (a3 :: Dual a6989586621680450329) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldl (a1 :: k2 ~> (a6989586621680450327 ~> k2)) (a2 :: k2) (a3 :: Dual a6989586621680450327) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr' (a1 :: a6989586621680450324 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Dual a6989586621680450324) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr (a1 :: a6989586621680450322 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Dual a6989586621680450322) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type LiftA2 (arg1 :: a ~> (b ~> c)) (arg2 :: Dual a) (arg3 :: Dual b) | |
| type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679819777 :: Dual a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Compare_6989586621679829373Sym1 a6989586621679829371 :: TyFun (Dual a) Ordering -> Type) (a6989586621679829372 :: Dual a) | |
| type Rep (Dual a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| type MaxBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type MinBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| data Sing (b :: Dual a) | |
| type Demote (Dual a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Rep1 Dual | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mconcat (arg :: [Dual a]) | |
| type Show_ (arg :: Dual a) | |
| type Sconcat (arg :: NonEmpty (Dual a)) | |
| type Mappend (arg1 :: Dual a) (arg2 :: Dual a) | |
| type ShowList (arg1 :: [Dual a]) arg2 | |
| type (a2 :: Dual a1) <> (a3 :: Dual a1) | |
| type Min (arg1 :: Dual a) (arg2 :: Dual a) | |
| type Max (arg1 :: Dual a) (arg2 :: Dual a) | |
| type (arg1 :: Dual a) >= (arg2 :: Dual a) | |
| type (arg1 :: Dual a) > (arg2 :: Dual a) | |
| type (arg1 :: Dual a) <= (arg2 :: Dual a) | |
| type (arg1 :: Dual a) < (arg2 :: Dual a) | |
| type Compare (a2 :: Dual a1) (a3 :: Dual a1) | |
| type (x :: Dual a) /= (y :: Dual a) | |
| type (a2 :: Dual a1) == (b :: Dual a1) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type ShowsPrec a2 (a3 :: Dual a1) a4 | |
| type Apply (DualSym0 :: TyFun a (Dual a) -> Type) (t6989586621679819780 :: a) | |
| type Apply (Pure_6989586621679837713Sym0 :: TyFun a (Dual a) -> Type) (a6989586621679837712 :: a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679837779Sym1 a6989586621679837777 :: TyFun (Dual a) (Dual a) -> Type) (a6989586621679837778 :: Dual a) | |
| type Apply (TFHelper_6989586621679837724Sym1 a6989586621679837722 :: TyFun (Dual a) (Dual b) -> Type) (a6989586621679837723 :: Dual a) | |
| type Apply (Fmap_6989586621679837736Sym1 a6989586621679837734 :: TyFun (Dual a) (Dual b) -> Type) (a6989586621679837735 :: Dual a) | |
| type Apply (TFHelper_6989586621679837755Sym1 a6989586621679837753 b :: TyFun (Dual b) (Dual a) -> Type) (a6989586621679837754 :: Dual b) | |
| type Apply (Traverse_6989586621680754071Sym1 a6989586621680754069 :: TyFun (Dual a) (f (Dual b)) -> Type) (a6989586621680754070 :: Dual a) | |
| type Apply (Let6989586621680451084Scrutinee_6989586621680450533Sym2 z6989586621680451082 f6989586621680451081 :: TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) (t6989586621680451083 :: t6989586621680450318 a6989586621680450321) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680451084Scrutinee_6989586621680450533Sym2 z6989586621680451082 f6989586621680451081 :: TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) (t6989586621680451083 :: t6989586621680450318 a6989586621680450321) = Let6989586621680451084Scrutinee_6989586621680450533 z6989586621680451082 f6989586621680451081 t6989586621680451083 | |
| type Apply (TFHelper_6989586621679837767Sym1 a6989586621679837765 b :: TyFun (a ~> Dual b) (Dual b) -> Type) (a6989586621679837766 :: a ~> Dual b) | |
| type Apply (ShowsPrec_6989586621680865175Sym0 :: TyFun Nat (Dual a6989586621679072595 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865172 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (TFHelper_6989586621679837755Sym0 :: TyFun a6989586621679544262 (Dual b6989586621679544263 ~> Dual a6989586621679544262) -> Type) (a6989586621679837753 :: a6989586621679544262) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837755Sym0 :: TyFun a6989586621679544262 (Dual b6989586621679544263 ~> Dual a6989586621679544262) -> Type) (a6989586621679837753 :: a6989586621679544262) = (TFHelper_6989586621679837755Sym1 a6989586621679837753 b6989586621679544263 :: TyFun (Dual b6989586621679544263) (Dual a6989586621679544262) -> Type) | |
| type Apply (Let6989586621680451084Scrutinee_6989586621680450533Sym1 f6989586621680451081 :: TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) (z6989586621680451082 :: k) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680451084Scrutinee_6989586621680450533Sym1 f6989586621680451081 :: TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) (z6989586621680451082 :: k) = (Let6989586621680451084Scrutinee_6989586621680450533Sym2 f6989586621680451081 z6989586621680451082 :: TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) | |
| type Apply (Compare_6989586621679829373Sym0 :: TyFun (Dual a6989586621679072595) (Dual a6989586621679072595 ~> Ordering) -> Type) (a6989586621679829371 :: Dual a6989586621679072595) | |
| type Apply (TFHelper_6989586621679837779Sym0 :: TyFun (Dual a6989586621679837570) (Dual a6989586621679837570 ~> Dual a6989586621679837570) -> Type) (a6989586621679837777 :: Dual a6989586621679837570) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (ShowsPrec_6989586621680865175Sym1 a6989586621680865172 a6989586621679072595 :: TyFun (Dual a6989586621679072595) (Symbol ~> Symbol) -> Type) (a6989586621680865173 :: Dual a6989586621679072595) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (TFHelper_6989586621679837724Sym0 :: TyFun (Dual (a6989586621679544266 ~> b6989586621679544267)) (Dual a6989586621679544266 ~> Dual b6989586621679544267) -> Type) (a6989586621679837722 :: Dual (a6989586621679544266 ~> b6989586621679544267)) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837724Sym0 :: TyFun (Dual (a6989586621679544266 ~> b6989586621679544267)) (Dual a6989586621679544266 ~> Dual b6989586621679544267) -> Type) (a6989586621679837722 :: Dual (a6989586621679544266 ~> b6989586621679544267)) = TFHelper_6989586621679837724Sym1 a6989586621679837722 | |
| type Apply (TFHelper_6989586621679837767Sym0 :: TyFun (Dual a6989586621679544289) ((a6989586621679544289 ~> Dual b6989586621679544290) ~> Dual b6989586621679544290) -> Type) (a6989586621679837765 :: Dual a6989586621679544289) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837767Sym0 :: TyFun (Dual a6989586621679544289) ((a6989586621679544289 ~> Dual b6989586621679544290) ~> Dual b6989586621679544290) -> Type) (a6989586621679837765 :: Dual a6989586621679544289) = (TFHelper_6989586621679837767Sym1 a6989586621679837765 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Dual b6989586621679544290) (Dual b6989586621679544290) -> Type) | |
| type Apply (Fmap_6989586621679837736Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Dual a6989586621679544260 ~> Dual b6989586621679544261) -> Type) (a6989586621679837734 :: a6989586621679544260 ~> b6989586621679544261) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Traverse_6989586621680754071Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Dual a6989586621680747832 ~> f6989586621680747831 (Dual b6989586621680747833)) -> Type) (a6989586621680754069 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) | |
Defined in Data.Singletons.Prelude.Traversable type Apply (Traverse_6989586621680754071Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Dual a6989586621680747832 ~> f6989586621680747831 (Dual b6989586621680747833)) -> Type) (a6989586621680754069 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) = Traverse_6989586621680754071Sym1 a6989586621680754069 | |
| type Apply (Let6989586621680451084Scrutinee_6989586621680450533Sym0 :: TyFun (a ~> (a6989586621680450321 ~> a)) (TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) -> Type) (f6989586621680451081 :: a ~> (a6989586621680450321 ~> a)) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680451084Scrutinee_6989586621680450533Sym0 :: TyFun (a ~> (a6989586621680450321 ~> a)) (TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) -> Type) (f6989586621680451081 :: a ~> (a6989586621680450321 ~> a)) = (Let6989586621680451084Scrutinee_6989586621680450533Sym1 f6989586621680451081 :: TyFun k (TyFun (t6989586621680450318 a6989586621680450321) (Dual (Endo a)) -> Type) -> Type) | |
The monoid of endomorphisms under composition.
>>>let computation = Endo ("Hello, " ++) <> Endo (++ "!")>>>appEndo computation "Haskell""Hello, Haskell!"
Boolean monoid under conjunction (&&).
>>>getAll (All True <> mempty <> All False)False
>>>getAll (mconcat (map (\x -> All (even x)) [2,4,6,7,8]))False
Instances
| Bounded All | Since: base-2.1 |
| Eq All | Since: base-2.1 |
| Ord All | Since: base-2.1 |
| Read All | Since: base-2.1 |
| Show All | Since: base-2.1 |
| Generic All | |
| Semigroup All | Since: base-4.9.0.0 |
| Monoid All | Since: base-2.1 |
| Default All | |
Defined in Data.Default.Class | |
| PMonoid All | |
| SMonoid All | |
Defined in Data.Singletons.Prelude.Monoid | |
| PSemigroup All | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SSemigroup All | |
| SuppressUnusedWarnings AllSym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings All_Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680865201Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings GetAllSym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings Compare_6989586621679829391Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings TFHelper_6989586621679837791Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SingI AllSym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SuppressUnusedWarnings (Let6989586621680450807Scrutinee_6989586621680450565Sym0 :: TyFun (t6989586621680450318 Bool) All -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829391Sym1 a6989586621679829389 :: TyFun All Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837791Sym1 a6989586621679837789 :: TyFun All All -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865201Sym1 a6989586621680865198 :: TyFun All (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680450775Scrutinee_6989586621680450571Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) All -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680450775Scrutinee_6989586621680450571Sym1 p6989586621680450773 :: TyFun (t6989586621680450318 a6989586621680450321) All -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| type Rep All | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid type Mempty = Mempty_6989586621680338341Sym0 | |
| type MaxBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type MaxBound = MaxBound_6989586621679825276Sym0 | |
| type MinBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type MinBound = MinBound_6989586621679825274Sym0 | |
| data Sing (a :: All) | |
| type Demote All | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Mconcat (arg :: [All]) | |
| type Show_ (arg :: All) | |
| type Sconcat (arg :: NonEmpty All) | |
| type Mappend (arg1 :: All) (arg2 :: All) | |
| type ShowList (arg1 :: [All]) arg2 | |
| type (a1 :: All) <> (a2 :: All) | |
| type Min (arg1 :: All) (arg2 :: All) | |
| type Max (arg1 :: All) (arg2 :: All) | |
| type (arg1 :: All) >= (arg2 :: All) | |
| type (arg1 :: All) > (arg2 :: All) | |
| type (arg1 :: All) <= (arg2 :: All) | |
| type (arg1 :: All) < (arg2 :: All) | |
| type Compare (a1 :: All) (a2 :: All) | |
| type (x :: All) /= (y :: All) | |
| type (a :: All) == (b :: All) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type ShowsPrec a1 (a2 :: All) a3 | |
| type Apply GetAllSym0 (a6989586621679819791 :: All) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply All_Sym0 (a6989586621679852645 :: Bool) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply AllSym0 (t6989586621679819794 :: Bool) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Compare_6989586621679829391Sym1 a6989586621679829389 :: TyFun All Ordering -> Type) (a6989586621679829390 :: All) | |
| type Apply (TFHelper_6989586621679837791Sym1 a6989586621679837789 :: TyFun All All -> Type) (a6989586621679837790 :: All) | |
| type Apply (Let6989586621680450807Scrutinee_6989586621680450565Sym0 :: TyFun (t6989586621680450318 Bool) All -> Type) (x6989586621680450806 :: t6989586621680450318 Bool) | |
| type Apply (Let6989586621680450775Scrutinee_6989586621680450571Sym1 p6989586621680450773 :: TyFun (t6989586621680450318 a6989586621680450321) All -> Type) (x6989586621680450774 :: t6989586621680450318 a6989586621680450321) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680450775Scrutinee_6989586621680450571Sym1 p6989586621680450773 :: TyFun (t6989586621680450318 a6989586621680450321) All -> Type) (x6989586621680450774 :: t6989586621680450318 a6989586621680450321) = Let6989586621680450775Scrutinee_6989586621680450571 p6989586621680450773 x6989586621680450774 | |
| type Apply Compare_6989586621679829391Sym0 (a6989586621679829389 :: All) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply TFHelper_6989586621679837791Sym0 (a6989586621679837789 :: All) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply ShowsPrec_6989586621680865201Sym0 (a6989586621680865198 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865201Sym1 a6989586621680865198 :: TyFun All (Symbol ~> Symbol) -> Type) (a6989586621680865199 :: All) | |
| type Apply (Let6989586621680450775Scrutinee_6989586621680450571Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) All -> Type) -> Type) (p6989586621680450773 :: a6989586621680450321 ~> Bool) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680450775Scrutinee_6989586621680450571Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) All -> Type) -> Type) (p6989586621680450773 :: a6989586621680450321 ~> Bool) = (Let6989586621680450775Scrutinee_6989586621680450571Sym1 p6989586621680450773 :: TyFun (t6989586621680450318 a6989586621680450321) All -> Type) | |
Boolean monoid under disjunction (||).
>>>getAny (Any True <> mempty <> Any False)True
>>>getAny (mconcat (map (\x -> Any (even x)) [2,4,6,7,8]))True
Instances
| Bounded Any | Since: base-2.1 |
| Eq Any | Since: base-2.1 |
| Ord Any | Since: base-2.1 |
| Read Any | Since: base-2.1 |
| Show Any | Since: base-2.1 |
| Generic Any | |
| Semigroup Any | Since: base-4.9.0.0 |
| Monoid Any | Since: base-2.1 |
| Default Any | |
Defined in Data.Default.Class | |
| PMonoid Any | |
| SMonoid Any | |
Defined in Data.Singletons.Prelude.Monoid | |
| PSemigroup Any | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SSemigroup Any | |
| SuppressUnusedWarnings AnySym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings Any_Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings ShowsPrec_6989586621680865227Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings GetAnySym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings Compare_6989586621679829409Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings TFHelper_6989586621679837803Sym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SingI AnySym0 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SuppressUnusedWarnings (Let6989586621680450798Scrutinee_6989586621680450567Sym0 :: TyFun (t6989586621680450318 Bool) Any -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829409Sym1 a6989586621679829407 :: TyFun Any Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837803Sym1 a6989586621679837801 :: TyFun Any Any -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865227Sym1 a6989586621680865224 :: TyFun Any (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680450788Scrutinee_6989586621680450569Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Let6989586621680450788Scrutinee_6989586621680450569Sym1 p6989586621680450786 :: TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| type Rep Any | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid type Mempty = Mempty_6989586621680338343Sym0 | |
| type MaxBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type MaxBound = MaxBound_6989586621679825280Sym0 | |
| type MinBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type MinBound = MinBound_6989586621679825278Sym0 | |
| data Sing (a :: Any) | |
| type Demote Any | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Mconcat (arg :: [Any]) | |
| type Show_ (arg :: Any) | |
| type Sconcat (arg :: NonEmpty Any) | |
| type Mappend (arg1 :: Any) (arg2 :: Any) | |
| type ShowList (arg1 :: [Any]) arg2 | |
| type (a1 :: Any) <> (a2 :: Any) | |
| type Min (arg1 :: Any) (arg2 :: Any) | |
| type Max (arg1 :: Any) (arg2 :: Any) | |
| type (arg1 :: Any) >= (arg2 :: Any) | |
| type (arg1 :: Any) > (arg2 :: Any) | |
| type (arg1 :: Any) <= (arg2 :: Any) | |
| type (arg1 :: Any) < (arg2 :: Any) | |
| type Compare (a1 :: Any) (a2 :: Any) | |
| type (x :: Any) /= (y :: Any) | |
| type (a :: Any) == (b :: Any) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type ShowsPrec a1 (a2 :: Any) a3 | |
| type Apply GetAnySym0 (a6989586621679819805 :: Any) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply Any_Sym0 (a6989586621679852644 :: Bool) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply AnySym0 (t6989586621679819808 :: Bool) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Compare_6989586621679829409Sym1 a6989586621679829407 :: TyFun Any Ordering -> Type) (a6989586621679829408 :: Any) | |
| type Apply (TFHelper_6989586621679837803Sym1 a6989586621679837801 :: TyFun Any Any -> Type) (a6989586621679837802 :: Any) | |
| type Apply (Let6989586621680450798Scrutinee_6989586621680450567Sym0 :: TyFun (t6989586621680450318 Bool) Any -> Type) (x6989586621680450797 :: t6989586621680450318 Bool) | |
| type Apply (Let6989586621680450788Scrutinee_6989586621680450569Sym1 p6989586621680450786 :: TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) (x6989586621680450787 :: t6989586621680450318 a6989586621680450321) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680450788Scrutinee_6989586621680450569Sym1 p6989586621680450786 :: TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) (x6989586621680450787 :: t6989586621680450318 a6989586621680450321) = Let6989586621680450788Scrutinee_6989586621680450569 p6989586621680450786 x6989586621680450787 | |
| type Apply Compare_6989586621679829409Sym0 (a6989586621679829407 :: Any) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply TFHelper_6989586621679837803Sym0 (a6989586621679837801 :: Any) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply ShowsPrec_6989586621680865227Sym0 (a6989586621680865224 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (ShowsPrec_6989586621680865227Sym1 a6989586621680865224 :: TyFun Any (Symbol ~> Symbol) -> Type) (a6989586621680865225 :: Any) | |
| type Apply (Let6989586621680450788Scrutinee_6989586621680450569Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) -> Type) (p6989586621680450786 :: a6989586621680450321 ~> Bool) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680450788Scrutinee_6989586621680450569Sym0 :: TyFun (a6989586621680450321 ~> Bool) (TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) -> Type) (p6989586621680450786 :: a6989586621680450321 ~> Bool) = (Let6989586621680450788Scrutinee_6989586621680450569Sym1 p6989586621680450786 :: TyFun (t6989586621680450318 a6989586621680450321) Any -> Type) | |
Monoid under addition.
>>>getSum (Sum 1 <> Sum 2 <> mempty)3
Instances
| Monad Sum | Since: base-4.8.0.0 |
| Functor Sum | Since: base-4.8.0.0 |
| Applicative Sum | Since: base-4.8.0.0 |
| Foldable Sum | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Sum m -> m # foldMap :: Monoid m => (a -> m) -> Sum a -> m # foldr :: (a -> b -> b) -> b -> Sum a -> b # foldr' :: (a -> b -> b) -> b -> Sum a -> b # foldl :: (b -> a -> b) -> b -> Sum a -> b # foldl' :: (b -> a -> b) -> b -> Sum a -> b # foldr1 :: (a -> a -> a) -> Sum a -> a # foldl1 :: (a -> a -> a) -> Sum a -> a # elem :: Eq a => a -> Sum a -> Bool # maximum :: Ord a => Sum a -> a # | |
| Traversable Sum | Since: base-4.8.0.0 |
| PTraversable Sum | |
| STraversable Sum | |
Defined in Data.Singletons.Prelude.Traversable Methods sTraverse :: SApplicative f => Sing t1 -> Sing t2 -> Sing (Apply (Apply TraverseSym0 t1) t2) # sSequenceA :: SApplicative f => Sing t1 -> Sing (Apply SequenceASym0 t1) # sMapM :: SMonad m => Sing t1 -> Sing t2 -> Sing (Apply (Apply MapMSym0 t1) t2) # sSequence :: SMonad m => Sing t1 -> Sing (Apply SequenceSym0 t1) # | |
| PFoldable Sum | |
| SFoldable Sum | |
Defined in Data.Singletons.Prelude.Foldable Methods sFold :: SMonoid m => Sing t1 -> Sing (Apply FoldSym0 t1) # sFoldMap :: SMonoid m => Sing t1 -> Sing t2 -> Sing (Apply (Apply FoldMapSym0 t1) t2) # sFoldr :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldrSym0 t1) t2) t3) # sFoldr' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldr'Sym0 t1) t2) t3) # sFoldl :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldlSym0 t1) t2) t3) # sFoldl' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldl'Sym0 t1) t2) t3) # sFoldr1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldr1Sym0 t1) t2) # sFoldl1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldl1Sym0 t1) t2) # sToList :: Sing t1 -> Sing (Apply ToListSym0 t1) # sNull :: Sing t1 -> Sing (Apply NullSym0 t1) # sLength :: Sing t1 -> Sing (Apply LengthSym0 t1) # sElem :: SEq a => Sing t1 -> Sing t2 -> Sing (Apply (Apply ElemSym0 t1) t2) # sMaximum :: SOrd a => Sing t1 -> Sing (Apply MaximumSym0 t1) # sMinimum :: SOrd a => Sing t1 -> Sing (Apply MinimumSym0 t1) # sSum :: SNum a => Sing t1 -> Sing (Apply SumSym0 t1) # sProduct :: SNum a => Sing t1 -> Sing (Apply ProductSym0 t1) # | |
| Bounded a => Bounded (Sum a) | Since: base-2.1 |
| Eq a => Eq (Sum a) | Since: base-2.1 |
| Num a => Num (Sum a) | Since: base-4.7.0.0 |
| Ord a => Ord (Sum a) | Since: base-2.1 |
| Read a => Read (Sum a) | Since: base-2.1 |
| Show a => Show (Sum a) | Since: base-2.1 |
| Generic (Sum a) | |
| Num a => Semigroup (Sum a) | Since: base-4.9.0.0 |
| Num a => Monoid (Sum a) | Since: base-2.1 |
| Num a => Default (Sum a) | |
Defined in Data.Default.Class | |
| PMonoid (Sum a) | |
| SNum a => SMonoid (Sum a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| PSemigroup (Sum a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SNum a => SSemigroup (Sum a) | |
| Generic1 Sum | |
| SuppressUnusedWarnings (FromInteger_6989586621679837944Sym0 :: TyFun Nat (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865256Sym0 :: TyFun Nat (Sum a6989586621679072580 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Sum_Sym0 :: TyFun a6989586621679853028 (Sum a6989586621679853028) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (SumSym0 :: TyFun a6989586621679072580 (Sum a6989586621679072580) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Pure_6989586621679837813Sym0 :: TyFun a6989586621679544265 (Sum a6989586621679544265) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837915Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584 ~> Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837903Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584 ~> Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837891Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584 ~> Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837879Sym0 :: TyFun (Sum a6989586621679837581) (Sum a6989586621679837581 ~> Sum a6989586621679837581) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Signum_6989586621679837937Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Negate_6989586621679837923Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetSumSym0 :: TyFun (Sum a6989586621679072580) a6989586621679072580 -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829430Sym0 :: TyFun (Sum a6989586621679072580) (Sum a6989586621679072580 ~> Ordering) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Abs_6989586621679837930Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SingI (SumSym0 :: TyFun a (Sum a) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SuppressUnusedWarnings (Let6989586621680451277Scrutinee_6989586621680450559Sym0 :: TyFun (t6989586621680450318 a6989586621680450321) (Sum a6989586621680450321) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837855Sym0 :: TyFun a6989586621679544262 (Sum b6989586621679544263 ~> Sum a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865256Sym1 a6989586621680865253 a6989586621679072580 :: TyFun (Sum a6989586621679072580) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837915Sym1 a6989586621679837913 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837903Sym1 a6989586621679837901 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837891Sym1 a6989586621679837889 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837879Sym1 a6989586621679837877 :: TyFun (Sum a6989586621679837581) (Sum a6989586621679837581) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837867Sym0 :: TyFun (Sum a6989586621679544289) ((a6989586621679544289 ~> Sum b6989586621679544290) ~> Sum b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829430Sym1 a6989586621679829428 :: TyFun (Sum a6989586621679072580) Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837824Sym0 :: TyFun (Sum (a6989586621679544266 ~> b6989586621679544267)) (Sum a6989586621679544266 ~> Sum b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679837836Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Sum a6989586621679544260 ~> Sum b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837855Sym1 a6989586621679837853 b6989586621679544263 :: TyFun (Sum b6989586621679544263) (Sum a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837824Sym1 a6989586621679837822 :: TyFun (Sum a6989586621679544266) (Sum b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679837836Sym1 a6989586621679837834 :: TyFun (Sum a6989586621679544260) (Sum b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754083Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Sum a6989586621680747832 ~> f6989586621680747831 (Sum b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837867Sym1 a6989586621679837865 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Sum b6989586621679544290) (Sum b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754083Sym1 a6989586621680754081 :: TyFun (Sum a6989586621680747832) (f6989586621680747831 (Sum b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| type Product (a :: Sum k2) | |
| type Sum (a :: Sum k2) | |
| type Minimum (a :: Sum k2) | |
| type Maximum (a :: Sum k2) | |
| type Length (a :: Sum a6989586621680450334) | |
| type Null (a :: Sum a6989586621680450333) | |
| type ToList (a :: Sum a6989586621680450332) | |
| type Fold (arg :: Sum m) | |
| type Pure (a :: k1) | |
| type Fail arg | |
| type Return (arg :: a) | |
| type Sequence (arg :: Sum (m a)) | |
| type SequenceA (arg :: Sum (f a)) | |
| type Elem (a1 :: k1) (a2 :: Sum k1) | |
| type Foldl1 (a1 :: k2 ~> (k2 ~> k2)) (a2 :: Sum k2) | |
| type Foldr1 (a1 :: k2 ~> (k2 ~> k2)) (a2 :: Sum k2) | |
| type FoldMap (a1 :: a6989586621680450321 ~> k2) (a2 :: Sum a6989586621680450321) | |
| type (a1 :: k1) <$ (a2 :: Sum b6989586621679544263) | |
| type Fmap (a1 :: a6989586621679544260 ~> b6989586621679544261) (a2 :: Sum a6989586621679544260) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type (arg1 :: Sum a) <* (arg2 :: Sum b) | |
| type (arg1 :: Sum a) *> (arg2 :: Sum b) | |
| type (a1 :: Sum (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: Sum a6989586621679544266) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type (arg1 :: Sum a) >> (arg2 :: Sum b) | |
| type (a1 :: Sum a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> Sum b6989586621679544290) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type MapM (arg1 :: a ~> m b) (arg2 :: Sum a) | |
| type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Sum a6989586621680747832) | |
Defined in Data.Singletons.Prelude.Traversable type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Sum a6989586621680747832) = Apply (Apply (Traverse_6989586621680754083Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Sum a6989586621680747832 ~> f6989586621680747831 (Sum b6989586621680747833)) -> Type) a1) a2 | |
| type Foldl' (a1 :: k2 ~> (a6989586621680450329 ~> k2)) (a2 :: k2) (a3 :: Sum a6989586621680450329) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldl (a1 :: k2 ~> (a6989586621680450327 ~> k2)) (a2 :: k2) (a3 :: Sum a6989586621680450327) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr' (a1 :: a6989586621680450324 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Sum a6989586621680450324) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr (a1 :: a6989586621680450322 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Sum a6989586621680450322) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type LiftA2 (arg1 :: a ~> (b ~> c)) (arg2 :: Sum a) (arg3 :: Sum b) | |
| type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679819822 :: Sum a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Compare_6989586621679829430Sym1 a6989586621679829428 :: TyFun (Sum a) Ordering -> Type) (a6989586621679829429 :: Sum a) | |
| type Rep (Sum a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| type MaxBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type MinBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| data Sing (b :: Sum a) | |
| type Demote (Sum a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Rep1 Sum | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mconcat (arg :: [Sum a]) | |
| type Show_ (arg :: Sum a) | |
| type Sconcat (arg :: NonEmpty (Sum a)) | |
| type FromInteger a2 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Signum (a2 :: Sum a1) | |
| type Abs (a2 :: Sum a1) | |
| type Negate (a2 :: Sum a1) | |
| type Mappend (arg1 :: Sum a) (arg2 :: Sum a) | |
| type ShowList (arg1 :: [Sum a]) arg2 | |
| type (a2 :: Sum a1) <> (a3 :: Sum a1) | |
| type (a2 :: Sum a1) * (a3 :: Sum a1) | |
| type (a2 :: Sum a1) - (a3 :: Sum a1) | |
| type (a2 :: Sum a1) + (a3 :: Sum a1) | |
| type Min (arg1 :: Sum a) (arg2 :: Sum a) | |
| type Max (arg1 :: Sum a) (arg2 :: Sum a) | |
| type (arg1 :: Sum a) >= (arg2 :: Sum a) | |
| type (arg1 :: Sum a) > (arg2 :: Sum a) | |
| type (arg1 :: Sum a) <= (arg2 :: Sum a) | |
| type (arg1 :: Sum a) < (arg2 :: Sum a) | |
| type Compare (a2 :: Sum a1) (a3 :: Sum a1) | |
| type (x :: Sum a) /= (y :: Sum a) | |
| type (a2 :: Sum a1) == (b :: Sum a1) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type ShowsPrec a2 (a3 :: Sum a1) a4 | |
| type Apply (SumSym0 :: TyFun a (Sum a) -> Type) (t6989586621679819825 :: a) | |
| type Apply (Pure_6989586621679837813Sym0 :: TyFun a (Sum a) -> Type) (a6989586621679837812 :: a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (FromInteger_6989586621679837944Sym0 :: TyFun Nat (Sum a6989586621679837584) -> Type) (a6989586621679837943 :: Nat) | |
| type Apply (Sum_Sym0 :: TyFun a (Sum a) -> Type) (a6989586621679852643 :: a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Negate_6989586621679837923Sym0 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837922 :: Sum a) | |
| type Apply (Abs_6989586621679837930Sym0 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837929 :: Sum a) | |
| type Apply (Signum_6989586621679837937Sym0 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837936 :: Sum a) | |
| type Apply (Let6989586621680451277Scrutinee_6989586621680450559Sym0 :: TyFun (t6989586621680450318 a6989586621680450321) (Sum a6989586621680450321) -> Type) (x6989586621680451276 :: t6989586621680450318 a6989586621680450321) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Apply (TFHelper_6989586621679837879Sym1 a6989586621679837877 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837878 :: Sum a) | |
| type Apply (TFHelper_6989586621679837891Sym1 a6989586621679837889 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837890 :: Sum a) | |
| type Apply (TFHelper_6989586621679837903Sym1 a6989586621679837901 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837902 :: Sum a) | |
| type Apply (TFHelper_6989586621679837915Sym1 a6989586621679837913 :: TyFun (Sum a) (Sum a) -> Type) (a6989586621679837914 :: Sum a) | |
| type Apply (TFHelper_6989586621679837824Sym1 a6989586621679837822 :: TyFun (Sum a) (Sum b) -> Type) (a6989586621679837823 :: Sum a) | |
| type Apply (Fmap_6989586621679837836Sym1 a6989586621679837834 :: TyFun (Sum a) (Sum b) -> Type) (a6989586621679837835 :: Sum a) | |
| type Apply (TFHelper_6989586621679837855Sym1 a6989586621679837853 b :: TyFun (Sum b) (Sum a) -> Type) (a6989586621679837854 :: Sum b) | |
| type Apply (Traverse_6989586621680754083Sym1 a6989586621680754081 :: TyFun (Sum a) (f (Sum b)) -> Type) (a6989586621680754082 :: Sum a) | |
| type Apply (TFHelper_6989586621679837867Sym1 a6989586621679837865 b :: TyFun (a ~> Sum b) (Sum b) -> Type) (a6989586621679837866 :: a ~> Sum b) | |
| type Apply (ShowsPrec_6989586621680865256Sym0 :: TyFun Nat (Sum a6989586621679072580 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865253 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (TFHelper_6989586621679837855Sym0 :: TyFun a6989586621679544262 (Sum b6989586621679544263 ~> Sum a6989586621679544262) -> Type) (a6989586621679837853 :: a6989586621679544262) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837855Sym0 :: TyFun a6989586621679544262 (Sum b6989586621679544263 ~> Sum a6989586621679544262) -> Type) (a6989586621679837853 :: a6989586621679544262) = (TFHelper_6989586621679837855Sym1 a6989586621679837853 b6989586621679544263 :: TyFun (Sum b6989586621679544263) (Sum a6989586621679544262) -> Type) | |
| type Apply (Compare_6989586621679829430Sym0 :: TyFun (Sum a6989586621679072580) (Sum a6989586621679072580 ~> Ordering) -> Type) (a6989586621679829428 :: Sum a6989586621679072580) | |
| type Apply (TFHelper_6989586621679837879Sym0 :: TyFun (Sum a6989586621679837581) (Sum a6989586621679837581 ~> Sum a6989586621679837581) -> Type) (a6989586621679837877 :: Sum a6989586621679837581) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679837891Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584 ~> Sum a6989586621679837584) -> Type) (a6989586621679837889 :: Sum a6989586621679837584) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679837903Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584 ~> Sum a6989586621679837584) -> Type) (a6989586621679837901 :: Sum a6989586621679837584) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679837915Sym0 :: TyFun (Sum a6989586621679837584) (Sum a6989586621679837584 ~> Sum a6989586621679837584) -> Type) (a6989586621679837913 :: Sum a6989586621679837584) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (ShowsPrec_6989586621680865256Sym1 a6989586621680865253 a6989586621679072580 :: TyFun (Sum a6989586621679072580) (Symbol ~> Symbol) -> Type) (a6989586621680865254 :: Sum a6989586621679072580) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (TFHelper_6989586621679837824Sym0 :: TyFun (Sum (a6989586621679544266 ~> b6989586621679544267)) (Sum a6989586621679544266 ~> Sum b6989586621679544267) -> Type) (a6989586621679837822 :: Sum (a6989586621679544266 ~> b6989586621679544267)) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837824Sym0 :: TyFun (Sum (a6989586621679544266 ~> b6989586621679544267)) (Sum a6989586621679544266 ~> Sum b6989586621679544267) -> Type) (a6989586621679837822 :: Sum (a6989586621679544266 ~> b6989586621679544267)) = TFHelper_6989586621679837824Sym1 a6989586621679837822 | |
| type Apply (TFHelper_6989586621679837867Sym0 :: TyFun (Sum a6989586621679544289) ((a6989586621679544289 ~> Sum b6989586621679544290) ~> Sum b6989586621679544290) -> Type) (a6989586621679837865 :: Sum a6989586621679544289) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837867Sym0 :: TyFun (Sum a6989586621679544289) ((a6989586621679544289 ~> Sum b6989586621679544290) ~> Sum b6989586621679544290) -> Type) (a6989586621679837865 :: Sum a6989586621679544289) = (TFHelper_6989586621679837867Sym1 a6989586621679837865 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Sum b6989586621679544290) (Sum b6989586621679544290) -> Type) | |
| type Apply (Fmap_6989586621679837836Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Sum a6989586621679544260 ~> Sum b6989586621679544261) -> Type) (a6989586621679837834 :: a6989586621679544260 ~> b6989586621679544261) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Traverse_6989586621680754083Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Sum a6989586621680747832 ~> f6989586621680747831 (Sum b6989586621680747833)) -> Type) (a6989586621680754081 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) | |
Defined in Data.Singletons.Prelude.Traversable type Apply (Traverse_6989586621680754083Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Sum a6989586621680747832 ~> f6989586621680747831 (Sum b6989586621680747833)) -> Type) (a6989586621680754081 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) = Traverse_6989586621680754083Sym1 a6989586621680754081 | |
Monoid under multiplication.
>>>getProduct (Product 3 <> Product 4 <> mempty)12
Constructors
| Product | |
Fields
| |
Instances
| Monad Product | Since: base-4.8.0.0 |
| Functor Product | Since: base-4.8.0.0 |
| Applicative Product | Since: base-4.8.0.0 |
| Foldable Product | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Product m -> m # foldMap :: Monoid m => (a -> m) -> Product a -> m # foldr :: (a -> b -> b) -> b -> Product a -> b # foldr' :: (a -> b -> b) -> b -> Product a -> b # foldl :: (b -> a -> b) -> b -> Product a -> b # foldl' :: (b -> a -> b) -> b -> Product a -> b # foldr1 :: (a -> a -> a) -> Product a -> a # foldl1 :: (a -> a -> a) -> Product a -> a # elem :: Eq a => a -> Product a -> Bool # maximum :: Ord a => Product a -> a # minimum :: Ord a => Product a -> a # | |
| Traversable Product | Since: base-4.8.0.0 |
| PTraversable Product | |
| STraversable Product | |
Defined in Data.Singletons.Prelude.Traversable Methods sTraverse :: SApplicative f => Sing t1 -> Sing t2 -> Sing (Apply (Apply TraverseSym0 t1) t2) # sSequenceA :: SApplicative f => Sing t1 -> Sing (Apply SequenceASym0 t1) # sMapM :: SMonad m => Sing t1 -> Sing t2 -> Sing (Apply (Apply MapMSym0 t1) t2) # sSequence :: SMonad m => Sing t1 -> Sing (Apply SequenceSym0 t1) # | |
| PFoldable Product | |
| SFoldable Product | |
Defined in Data.Singletons.Prelude.Foldable Methods sFold :: SMonoid m => Sing t1 -> Sing (Apply FoldSym0 t1) # sFoldMap :: SMonoid m => Sing t1 -> Sing t2 -> Sing (Apply (Apply FoldMapSym0 t1) t2) # sFoldr :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldrSym0 t1) t2) t3) # sFoldr' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldr'Sym0 t1) t2) t3) # sFoldl :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply FoldlSym0 t1) t2) t3) # sFoldl' :: Sing t1 -> Sing t2 -> Sing t3 -> Sing (Apply (Apply (Apply Foldl'Sym0 t1) t2) t3) # sFoldr1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldr1Sym0 t1) t2) # sFoldl1 :: Sing t1 -> Sing t2 -> Sing (Apply (Apply Foldl1Sym0 t1) t2) # sToList :: Sing t1 -> Sing (Apply ToListSym0 t1) # sNull :: Sing t1 -> Sing (Apply NullSym0 t1) # sLength :: Sing t1 -> Sing (Apply LengthSym0 t1) # sElem :: SEq a => Sing t1 -> Sing t2 -> Sing (Apply (Apply ElemSym0 t1) t2) # sMaximum :: SOrd a => Sing t1 -> Sing (Apply MaximumSym0 t1) # sMinimum :: SOrd a => Sing t1 -> Sing (Apply MinimumSym0 t1) # sSum :: SNum a => Sing t1 -> Sing (Apply SumSym0 t1) # sProduct :: SNum a => Sing t1 -> Sing (Apply ProductSym0 t1) # | |
| Bounded a => Bounded (Product a) | Since: base-2.1 |
| Eq a => Eq (Product a) | Since: base-2.1 |
| Num a => Num (Product a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| Ord a => Ord (Product a) | Since: base-2.1 |
| Read a => Read (Product a) | Since: base-2.1 |
| Show a => Show (Product a) | Since: base-2.1 |
| Generic (Product a) | |
| Num a => Semigroup (Product a) | Since: base-4.9.0.0 |
| Num a => Monoid (Product a) | Since: base-2.1 |
| Num a => Default (Product a) | |
Defined in Data.Default.Class | |
| PMonoid (Product a) | |
| SNum a => SMonoid (Product a) | |
Defined in Data.Singletons.Prelude.Monoid | |
| PSemigroup (Product a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| SNum a => SSemigroup (Product a) | |
| Generic1 Product | |
| SuppressUnusedWarnings (FromInteger_6989586621679838084Sym0 :: TyFun Nat (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865285Sym0 :: TyFun Nat (Product a6989586621679072585 ~> (Symbol ~> Symbol)) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Pure_6989586621679837953Sym0 :: TyFun a6989586621679544265 (Product a6989586621679544265) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Product_Sym0 :: TyFun a6989586621679853036 (Product a6989586621679853036) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ProductSym0 :: TyFun a6989586621679072585 (Product a6989586621679072585) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838055Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602 ~> Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838043Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602 ~> Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838031Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602 ~> Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838019Sym0 :: TyFun (Product a6989586621679837599) (Product a6989586621679837599 ~> Product a6989586621679837599) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Signum_6989586621679838077Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Negate_6989586621679838063Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (GetProductSym0 :: TyFun (Product a6989586621679072585) a6989586621679072585 -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829451Sym0 :: TyFun (Product a6989586621679072585) (Product a6989586621679072585 ~> Ordering) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Abs_6989586621679838070Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SingI (ProductSym0 :: TyFun a (Product a) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods sing :: Sing ProductSym0 # | |
| SuppressUnusedWarnings (Let6989586621680451290Scrutinee_6989586621680450562Sym0 :: TyFun (t6989586621680450318 a6989586621680450321) (Product a6989586621680450321) -> Type) | |
Defined in Data.Singletons.Prelude.Foldable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837995Sym0 :: TyFun a6989586621679544262 (Product b6989586621679544263 ~> Product a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (ShowsPrec_6989586621680865285Sym1 a6989586621680865282 a6989586621679072585 :: TyFun (Product a6989586621679072585) (Symbol ~> Symbol) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838055Sym1 a6989586621679838053 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838043Sym1 a6989586621679838041 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838031Sym1 a6989586621679838029 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838019Sym1 a6989586621679838017 :: TyFun (Product a6989586621679837599) (Product a6989586621679837599) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838007Sym0 :: TyFun (Product a6989586621679544289) ((a6989586621679544289 ~> Product b6989586621679544290) ~> Product b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Compare_6989586621679829451Sym1 a6989586621679829449 :: TyFun (Product a6989586621679072585) Ordering -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837964Sym0 :: TyFun (Product (a6989586621679544266 ~> b6989586621679544267)) (Product a6989586621679544266 ~> Product b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679837976Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Product a6989586621679544260 ~> Product b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837995Sym1 a6989586621679837993 b6989586621679544263 :: TyFun (Product b6989586621679544263) (Product a6989586621679544262) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679837964Sym1 a6989586621679837962 :: TyFun (Product a6989586621679544266) (Product b6989586621679544267) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Fmap_6989586621679837976Sym1 a6989586621679837974 :: TyFun (Product a6989586621679544260) (Product b6989586621679544261) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754095Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Product a6989586621680747832 ~> f6989586621680747831 (Product b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (TFHelper_6989586621679838007Sym1 a6989586621679838005 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Product b6989586621679544290) (Product b6989586621679544290) -> Type) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal Methods suppressUnusedWarnings :: () # | |
| SuppressUnusedWarnings (Traverse_6989586621680754095Sym1 a6989586621680754093 :: TyFun (Product a6989586621680747832) (f6989586621680747831 (Product b6989586621680747833)) -> Type) | |
Defined in Data.Singletons.Prelude.Traversable Methods suppressUnusedWarnings :: () # | |
| type Product (a :: Product k2) | |
| type Sum (a :: Product k2) | |
| type Minimum (a :: Product k2) | |
| type Maximum (a :: Product k2) | |
| type Length (a :: Product a6989586621680450334) | |
| type Null (a :: Product a6989586621680450333) | |
| type ToList (a :: Product a6989586621680450332) | |
| type Fold (arg :: Product m) | |
| type Pure (a :: k1) | |
| type Fail arg | |
| type Return (arg :: a) | |
| type Sequence (arg :: Product (m a)) | |
| type SequenceA (arg :: Product (f a)) | |
| type Elem (a1 :: k1) (a2 :: Product k1) | |
| type Foldl1 (a1 :: k2 ~> (k2 ~> k2)) (a2 :: Product k2) | |
| type Foldr1 (a1 :: k2 ~> (k2 ~> k2)) (a2 :: Product k2) | |
| type FoldMap (a1 :: a6989586621680450321 ~> k2) (a2 :: Product a6989586621680450321) | |
| type (a1 :: k1) <$ (a2 :: Product b6989586621679544263) | |
| type Fmap (a1 :: a6989586621679544260 ~> b6989586621679544261) (a2 :: Product a6989586621679544260) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type (arg1 :: Product a) <* (arg2 :: Product b) | |
| type (arg1 :: Product a) *> (arg2 :: Product b) | |
| type (a1 :: Product (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: Product a6989586621679544266) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type (a1 :: Product (a6989586621679544266 ~> b6989586621679544267)) <*> (a2 :: Product a6989586621679544266) = Apply (Apply (TFHelper_6989586621679837964Sym0 :: TyFun (Product (a6989586621679544266 ~> b6989586621679544267)) (Product a6989586621679544266 ~> Product b6989586621679544267) -> Type) a1) a2 | |
| type (arg1 :: Product a) >> (arg2 :: Product b) | |
| type (a1 :: Product a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> Product b6989586621679544290) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type (a1 :: Product a6989586621679544289) >>= (a2 :: a6989586621679544289 ~> Product b6989586621679544290) = Apply (Apply (TFHelper_6989586621679838007Sym0 :: TyFun (Product a6989586621679544289) ((a6989586621679544289 ~> Product b6989586621679544290) ~> Product b6989586621679544290) -> Type) a1) a2 | |
| type MapM (arg1 :: a ~> m b) (arg2 :: Product a) | |
| type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Product a6989586621680747832) | |
Defined in Data.Singletons.Prelude.Traversable type Traverse (a1 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (a2 :: Product a6989586621680747832) = Apply (Apply (Traverse_6989586621680754095Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Product a6989586621680747832 ~> f6989586621680747831 (Product b6989586621680747833)) -> Type) a1) a2 | |
| type Foldl' (a1 :: k2 ~> (a6989586621680450329 ~> k2)) (a2 :: k2) (a3 :: Product a6989586621680450329) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldl (a1 :: k2 ~> (a6989586621680450327 ~> k2)) (a2 :: k2) (a3 :: Product a6989586621680450327) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr' (a1 :: a6989586621680450324 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Product a6989586621680450324) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type Foldr (a1 :: a6989586621680450322 ~> (k2 ~> k2)) (a2 :: k2) (a3 :: Product a6989586621680450322) | |
Defined in Data.Singletons.Prelude.Foldable | |
| type LiftA2 (arg1 :: a ~> (b ~> c)) (arg2 :: Product a) (arg3 :: Product b) | |
| type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679819839 :: Product a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679819839 :: Product a) = GetProduct a6989586621679819839 | |
| type Apply (Compare_6989586621679829451Sym1 a6989586621679829449 :: TyFun (Product a) Ordering -> Type) (a6989586621679829450 :: Product a) | |
| type Rep (Product a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mempty | |
Defined in Data.Singletons.Prelude.Monoid | |
| type MaxBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type MinBound | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| data Sing (b :: Product a) | |
| type Demote (Product a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Rep1 Product | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Mconcat (arg :: [Product a]) | |
| type Show_ (arg :: Product a) | |
| type Sconcat (arg :: NonEmpty (Product a)) | |
| type FromInteger a2 | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Signum (a2 :: Product a1) | |
| type Abs (a2 :: Product a1) | |
| type Negate (a2 :: Product a1) | |
| type Mappend (arg1 :: Product a) (arg2 :: Product a) | |
| type ShowList (arg1 :: [Product a]) arg2 | |
| type (a2 :: Product a1) <> (a3 :: Product a1) | |
| type (a2 :: Product a1) * (a3 :: Product a1) | |
| type (a2 :: Product a1) - (a3 :: Product a1) | |
| type (a2 :: Product a1) + (a3 :: Product a1) | |
| type Min (arg1 :: Product a) (arg2 :: Product a) | |
| type Max (arg1 :: Product a) (arg2 :: Product a) | |
| type (arg1 :: Product a) >= (arg2 :: Product a) | |
| type (arg1 :: Product a) > (arg2 :: Product a) | |
| type (arg1 :: Product a) <= (arg2 :: Product a) | |
| type (arg1 :: Product a) < (arg2 :: Product a) | |
| type Compare (a2 :: Product a1) (a3 :: Product a1) | |
| type (x :: Product a) /= (y :: Product a) | |
| type (a2 :: Product a1) == (b :: Product a1) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type ShowsPrec a2 (a3 :: Product a1) a4 | |
| type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (t6989586621679819842 :: a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Pure_6989586621679837953Sym0 :: TyFun a (Product a) -> Type) (a6989586621679837952 :: a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (FromInteger_6989586621679838084Sym0 :: TyFun Nat (Product a6989586621679837602) -> Type) (a6989586621679838083 :: Nat) | |
| type Apply (Product_Sym0 :: TyFun a (Product a) -> Type) (a6989586621679852642 :: a) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Negate_6989586621679838063Sym0 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838062 :: Product a) | |
| type Apply (Abs_6989586621679838070Sym0 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838069 :: Product a) | |
| type Apply (Signum_6989586621679838077Sym0 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838076 :: Product a) | |
| type Apply (Let6989586621680451290Scrutinee_6989586621680450562Sym0 :: TyFun (t6989586621680450318 a6989586621680450321) (Product a6989586621680450321) -> Type) (x6989586621680451289 :: t6989586621680450318 a6989586621680450321) | |
Defined in Data.Singletons.Prelude.Foldable type Apply (Let6989586621680451290Scrutinee_6989586621680450562Sym0 :: TyFun (t6989586621680450318 a6989586621680450321) (Product a6989586621680450321) -> Type) (x6989586621680451289 :: t6989586621680450318 a6989586621680450321) = Let6989586621680451290Scrutinee_6989586621680450562 x6989586621680451289 | |
| type Apply (TFHelper_6989586621679838019Sym1 a6989586621679838017 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838018 :: Product a) | |
| type Apply (TFHelper_6989586621679838031Sym1 a6989586621679838029 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838030 :: Product a) | |
| type Apply (TFHelper_6989586621679838043Sym1 a6989586621679838041 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838042 :: Product a) | |
| type Apply (TFHelper_6989586621679838055Sym1 a6989586621679838053 :: TyFun (Product a) (Product a) -> Type) (a6989586621679838054 :: Product a) | |
| type Apply (TFHelper_6989586621679837964Sym1 a6989586621679837962 :: TyFun (Product a) (Product b) -> Type) (a6989586621679837963 :: Product a) | |
| type Apply (Fmap_6989586621679837976Sym1 a6989586621679837974 :: TyFun (Product a) (Product b) -> Type) (a6989586621679837975 :: Product a) | |
| type Apply (TFHelper_6989586621679837995Sym1 a6989586621679837993 b :: TyFun (Product b) (Product a) -> Type) (a6989586621679837994 :: Product b) | |
| type Apply (Traverse_6989586621680754095Sym1 a6989586621680754093 :: TyFun (Product a) (f (Product b)) -> Type) (a6989586621680754094 :: Product a) | |
| type Apply (TFHelper_6989586621679838007Sym1 a6989586621679838005 b :: TyFun (a ~> Product b) (Product b) -> Type) (a6989586621679838006 :: a ~> Product b) | |
| type Apply (ShowsPrec_6989586621680865285Sym0 :: TyFun Nat (Product a6989586621679072585 ~> (Symbol ~> Symbol)) -> Type) (a6989586621680865282 :: Nat) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (TFHelper_6989586621679837995Sym0 :: TyFun a6989586621679544262 (Product b6989586621679544263 ~> Product a6989586621679544262) -> Type) (a6989586621679837993 :: a6989586621679544262) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837995Sym0 :: TyFun a6989586621679544262 (Product b6989586621679544263 ~> Product a6989586621679544262) -> Type) (a6989586621679837993 :: a6989586621679544262) = (TFHelper_6989586621679837995Sym1 a6989586621679837993 b6989586621679544263 :: TyFun (Product b6989586621679544263) (Product a6989586621679544262) -> Type) | |
| type Apply (Compare_6989586621679829451Sym0 :: TyFun (Product a6989586621679072585) (Product a6989586621679072585 ~> Ordering) -> Type) (a6989586621679829449 :: Product a6989586621679072585) | |
| type Apply (TFHelper_6989586621679838019Sym0 :: TyFun (Product a6989586621679837599) (Product a6989586621679837599 ~> Product a6989586621679837599) -> Type) (a6989586621679838017 :: Product a6989586621679837599) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679838031Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602 ~> Product a6989586621679837602) -> Type) (a6989586621679838029 :: Product a6989586621679837602) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679838043Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602 ~> Product a6989586621679837602) -> Type) (a6989586621679838041 :: Product a6989586621679837602) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (TFHelper_6989586621679838055Sym0 :: TyFun (Product a6989586621679837602) (Product a6989586621679837602 ~> Product a6989586621679837602) -> Type) (a6989586621679838053 :: Product a6989586621679837602) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (ShowsPrec_6989586621680865285Sym1 a6989586621680865282 a6989586621679072585 :: TyFun (Product a6989586621679072585) (Symbol ~> Symbol) -> Type) (a6989586621680865283 :: Product a6989586621679072585) | |
Defined in Data.Singletons.Prelude.Semigroup | |
| type Apply (TFHelper_6989586621679837964Sym0 :: TyFun (Product (a6989586621679544266 ~> b6989586621679544267)) (Product a6989586621679544266 ~> Product b6989586621679544267) -> Type) (a6989586621679837962 :: Product (a6989586621679544266 ~> b6989586621679544267)) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679837964Sym0 :: TyFun (Product (a6989586621679544266 ~> b6989586621679544267)) (Product a6989586621679544266 ~> Product b6989586621679544267) -> Type) (a6989586621679837962 :: Product (a6989586621679544266 ~> b6989586621679544267)) = TFHelper_6989586621679837964Sym1 a6989586621679837962 | |
| type Apply (TFHelper_6989586621679838007Sym0 :: TyFun (Product a6989586621679544289) ((a6989586621679544289 ~> Product b6989586621679544290) ~> Product b6989586621679544290) -> Type) (a6989586621679838005 :: Product a6989586621679544289) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal type Apply (TFHelper_6989586621679838007Sym0 :: TyFun (Product a6989586621679544289) ((a6989586621679544289 ~> Product b6989586621679544290) ~> Product b6989586621679544290) -> Type) (a6989586621679838005 :: Product a6989586621679544289) = (TFHelper_6989586621679838007Sym1 a6989586621679838005 b6989586621679544290 :: TyFun (a6989586621679544289 ~> Product b6989586621679544290) (Product b6989586621679544290) -> Type) | |
| type Apply (Fmap_6989586621679837976Sym0 :: TyFun (a6989586621679544260 ~> b6989586621679544261) (Product a6989586621679544260 ~> Product b6989586621679544261) -> Type) (a6989586621679837974 :: a6989586621679544260 ~> b6989586621679544261) | |
Defined in Data.Singletons.Prelude.Semigroup.Internal | |
| type Apply (Traverse_6989586621680754095Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Product a6989586621680747832 ~> f6989586621680747831 (Product b6989586621680747833)) -> Type) (a6989586621680754093 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) | |
Defined in Data.Singletons.Prelude.Traversable type Apply (Traverse_6989586621680754095Sym0 :: TyFun (a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) (Product a6989586621680747832 ~> f6989586621680747831 (Product b6989586621680747833)) -> Type) (a6989586621680754093 :: a6989586621680747832 ~> f6989586621680747831 b6989586621680747833) = Traverse_6989586621680754095Sym1 a6989586621680754093 | |
newtype Alt (f :: k -> Type) (a :: k) :: forall k. (k -> Type) -> k -> Type #
Monoid under <|>.
Since: base-4.8.0.0
Instances
| Generic1 (Alt f :: k -> Type) | |
| Monad f => Monad (Alt f) | Since: base-4.8.0.0 |
| Functor f => Functor (Alt f) | Since: base-4.8.0.0 |
| Applicative f => Applicative (Alt f) | Since: base-4.8.0.0 |
| Foldable f => Foldable (Alt f) | Since: base-4.12.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Alt f m -> m # foldMap :: Monoid m => (a -> m) -> Alt f a -> m # foldr :: (a -> b -> b) -> b -> Alt f a -> b # foldr' :: (a -> b -> b) -> b -> Alt f a -> b # foldl :: (b -> a -> b) -> b -> Alt f a -> b # foldl' :: (b -> a -> b) -> b -> Alt f a -> b # foldr1 :: (a -> a -> a) -> Alt f a -> a # foldl1 :: (a -> a -> a) -> Alt f a -> a # elem :: Eq a => a -> Alt f a -> Bool # maximum :: Ord a => Alt f a -> a # minimum :: Ord a => Alt f a -> a # | |
| Traversable f => Traversable (Alt f) | Since: base-4.12.0.0 |
| Alternative f => Alternative (Alt f) | Since: base-4.8.0.0 |
| MonadPlus f => MonadPlus (Alt f) | Since: base-4.8.0.0 |
| Enum (f a) => Enum (Alt f a) | Since: base-4.8.0.0 |
| Eq (f a) => Eq (Alt f a) | Since: base-4.8.0.0 |
| Num (f a) => Num (Alt f a) | Since: base-4.8.0.0 |
| Ord (f a) => Ord (Alt f a) | Since: base-4.8.0.0 |
Defined in Data.Semigroup.Internal | |
| Read (f a) => Read (Alt f a) | Since: base-4.8.0.0 |
| Show (f a) => Show (Alt f a) | Since: base-4.8.0.0 |
| Generic (Alt f a) | |
| Alternative f => Semigroup (Alt f a) | Since: base-4.9.0.0 |
| Alternative f => Monoid (Alt f a) | Since: base-4.8.0.0 |
| type Rep1 (Alt f :: k -> Type) | Since: base-4.8.0.0 |
Defined in Data.Semigroup.Internal | |
| type Rep (Alt f a) | Since: base-4.8.0.0 |
Defined in Data.Semigroup.Internal | |
sameSymbol :: (KnownSymbol a, KnownSymbol b) => Proxy a -> Proxy b -> Maybe (a :~: b) #
We either get evidence that this function was instantiated with the
same type-level symbols, or Nothing.
Since: base-4.7.0.0
someSymbolVal :: String -> SomeSymbol #
Convert a string into an unknown type-level symbol.
Since: base-4.7.0.0
someNatVal :: Integer -> Maybe SomeNat #
Convert an integer into an unknown type-level natural.
Since: base-4.7.0.0
symbolVal' :: KnownSymbol n => Proxy# n -> String #
Since: base-4.8.0.0
symbolVal :: KnownSymbol n => proxy n -> String #
Since: base-4.7.0.0
data SomeSymbol where #
This type represents unknown type-level symbols.
Constructors
| SomeSymbol :: forall (n :: Symbol). KnownSymbol n => Proxy n -> SomeSymbol | Since: base-4.7.0.0 |
Instances
| Eq SomeSymbol | Since: base-4.7.0.0 |
Defined in GHC.TypeLits | |
| Ord SomeSymbol | Since: base-4.7.0.0 |
Defined in GHC.TypeLits Methods compare :: SomeSymbol -> SomeSymbol -> Ordering # (<) :: SomeSymbol -> SomeSymbol -> Bool # (<=) :: SomeSymbol -> SomeSymbol -> Bool # (>) :: SomeSymbol -> SomeSymbol -> Bool # (>=) :: SomeSymbol -> SomeSymbol -> Bool # max :: SomeSymbol -> SomeSymbol -> SomeSymbol # min :: SomeSymbol -> SomeSymbol -> SomeSymbol # | |
| Read SomeSymbol | Since: base-4.7.0.0 |
Defined in GHC.TypeLits Methods readsPrec :: Int -> ReadS SomeSymbol # readList :: ReadS [SomeSymbol] # readPrec :: ReadPrec SomeSymbol # readListPrec :: ReadPrec [SomeSymbol] # | |
| Show SomeSymbol | Since: base-4.7.0.0 |
Defined in GHC.TypeLits Methods showsPrec :: Int -> SomeSymbol -> ShowS # show :: SomeSymbol -> String # showList :: [SomeSymbol] -> ShowS # | |
data ErrorMessage where #
A description of a custom type error.
Constructors
| Text :: forall. Symbol -> ErrorMessage | Show the text as is. |
| ShowType :: forall t. t -> ErrorMessage | Pretty print the type.
|
| (:<>:) :: forall. ErrorMessage -> ErrorMessage -> ErrorMessage infixl 6 | Put two pieces of error message next to each other. |
| (:$$:) :: forall. ErrorMessage -> ErrorMessage -> ErrorMessage infixl 5 | Stack two pieces of error message on top of each other. |
Instances
| type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) Source # | |
Defined in Data.Type.BitRecords.Assert type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) | |
sameNat :: (KnownNat a, KnownNat b) => Proxy a -> Proxy b -> Maybe (a :~: b) #
We either get evidence that this function was instantiated with the
same type-level numbers, or Nothing.
Since: base-4.7.0.0
This type represents unknown type-level natural numbers.
Since: base-4.10.0.0
type (<=) (x :: Nat) (y :: Nat) = (x <=? y) ~ True infix 4 #
Comparison of type-level naturals, as a constraint.
Since: base-4.7.0.0
words breaks a string up into a list of words, which were delimited
by white space.
>>>words "Lorem ipsum\ndolor"["Lorem","ipsum","dolor"]
lines breaks a string up into a list of strings at newline
characters. The resulting strings do not contain newlines.
Note that after splitting the string at newline characters, the last part of the string is considered a line even if it doesn't end with a newline. For example,
>>>lines ""[]
>>>lines "\n"[""]
>>>lines "one"["one"]
>>>lines "one\n"["one"]
>>>lines "one\n\n"["one",""]
>>>lines "one\ntwo"["one","two"]
>>>lines "one\ntwo\n"["one","two"]
Thus contains at least as many elements as newlines in lines ss.
asProxyTypeOf :: a -> proxy a -> a #
asProxyTypeOf 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 tag
of the second.
>>>import Data.Word>>>:type asProxyTypeOf 123 (Proxy :: Proxy Word8)asProxyTypeOf 123 (Proxy :: Proxy Word8) :: Word8
Note the lower-case proxy in the definition. This allows any type
constructor with just one argument to be passed to the function, for example
we could also write
>>>import Data.Word>>>:type asProxyTypeOf 123 (Just (undefined :: Word8))asProxyTypeOf 123 (Just (undefined :: Word8)) :: Word8
data Proxy (t :: k) :: forall k. k -> Type #
Proxy is a type that holds no data, but has a phantom parameter of
arbitrary type (or even kind). Its use is to provide type information, even
though there is no value available of that type (or it may be too costly to
create one).
Historically, is a safer alternative to the
Proxy :: Proxy a'undefined :: a' idiom.
>>>Proxy :: Proxy (Void, Int -> Int)Proxy
Proxy can even hold types of higher kinds,
>>>Proxy :: Proxy EitherProxy
>>>Proxy :: Proxy FunctorProxy
>>>Proxy :: Proxy complicatedStructureProxy
Constructors
| Proxy |
Instances
A concrete, promotable proxy type, for use at the kind level There are no instances for this because it is intended at the kind level only
Constructors
| KProxy |
outer :: (f a :~: g b) -> f :~: g #
Extract equality of type constructors from an equality of applied types
inner :: (f a :~: g b) -> a :~: b #
Extract equality of the arguments from an equality of applied types
gcastWith :: (a :~: b) -> ((a ~ b) -> r) -> r #
Generalized form of type-safe cast using propositional equality
data (a :: k) :~: (b :: k) :: forall k. k -> k -> Type where infix 4 #
Propositional equality. If a :~: b is inhabited by some terminating
value, then the type a is the same as the type b. To use this equality
in practice, pattern-match on the a :~: b to get out the Refl constructor;
in the body of the pattern-match, the compiler knows that a ~ b.
Since: base-4.7.0.0
Instances
| Category ((:~:) :: k -> k -> Type) | Since: base-4.7.0.0 |
| TestEquality ((:~:) a :: k -> Type) | Since: base-4.7.0.0 |
Defined in Data.Type.Equality | |
| HasFunctionBuilder BitBuilder (Proxy nested) => HasFunctionBuilder BitBuilder (Proxy (Konst nested)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (Konst nested)) r :: Type # Methods toFunctionBuilder :: Proxy (Konst nested) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (Konst nested)) r) # | |
| DynamicContent BitBuilder (Proxy nested) rt => DynamicContent BitBuilder (Proxy (Konst nested)) rt Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (Konst nested) -> FunctionBuilder BitBuilder next (rt -> next) # | |
| a ~ b => Bounded (a :~: b) | Since: base-4.7.0.0 |
| a ~ b => Enum (a :~: b) | Since: base-4.7.0.0 |
Defined in Data.Type.Equality Methods succ :: (a :~: b) -> a :~: b # pred :: (a :~: b) -> a :~: b # fromEnum :: (a :~: b) -> Int # enumFrom :: (a :~: b) -> [a :~: b] # enumFromThen :: (a :~: b) -> (a :~: b) -> [a :~: b] # enumFromTo :: (a :~: b) -> (a :~: b) -> [a :~: b] # enumFromThenTo :: (a :~: b) -> (a :~: b) -> (a :~: b) -> [a :~: b] # | |
| Eq (a :~: b) | Since: base-4.7.0.0 |
| Ord (a :~: b) | Since: base-4.7.0.0 |
Defined in Data.Type.Equality | |
| a ~ b => Read (a :~: b) | Since: base-4.7.0.0 |
| Show (a :~: b) | Since: base-4.7.0.0 |
| type From ((:~:) a2 :: a1 -> Type) Source # | |
Defined in Data.Kind.Extra | |
| type ToFunction BitBuilder (Proxy (Konst nested)) a Source # | |
data (a :: k1) :~~: (b :: k2) :: forall k1 k2. k1 -> k2 -> Type where infix 4 #
Kind heterogeneous propositional equality. Like :~:, a :~~: b is
inhabited by a terminating value if and only if a is the same type as b.
Since: base-4.10.0.0
Instances
| Category ((:~~:) :: k -> k -> Type) | Since: base-4.10.0.0 |
| TestEquality ((:~~:) a :: k -> Type) | Since: base-4.10.0.0 |
Defined in Data.Type.Equality | |
| a ~~ b => Bounded (a :~~: b) | Since: base-4.10.0.0 |
| a ~~ b => Enum (a :~~: b) | Since: base-4.10.0.0 |
Defined in Data.Type.Equality Methods succ :: (a :~~: b) -> a :~~: b # pred :: (a :~~: b) -> a :~~: b # fromEnum :: (a :~~: b) -> Int # enumFrom :: (a :~~: b) -> [a :~~: b] # enumFromThen :: (a :~~: b) -> (a :~~: b) -> [a :~~: b] # enumFromTo :: (a :~~: b) -> (a :~~: b) -> [a :~~: b] # enumFromThenTo :: (a :~~: b) -> (a :~~: b) -> (a :~~: b) -> [a :~~: b] # | |
| Eq (a :~~: b) | Since: base-4.10.0.0 |
| Ord (a :~~: b) | Since: base-4.10.0.0 |
| a ~~ b => Read (a :~~: b) | Since: base-4.10.0.0 |
| Show (a :~~: b) | Since: base-4.10.0.0 |
class TestEquality (f :: k -> Type) where #
This class contains types where you can learn the equality of two types from information contained in terms. Typically, only singleton types should inhabit this class.
Instances
| TestEquality (TypeRep :: k -> Type) | |
Defined in Data.Typeable.Internal | |
| TestEquality ((:~:) a :: k -> Type) | Since: base-4.7.0.0 |
Defined in Data.Type.Equality | |
| TestEquality ((:~~:) a :: k -> Type) | Since: base-4.10.0.0 |
Defined in Data.Type.Equality | |
type family (a :: k) == (b :: k) :: Bool where ... infix 4 #
A type family to compute Boolean equality.
byteSwap64 :: Word64 -> Word64 #
Reverse order of bytes in Word64.
Since: base-4.7.0.0
byteSwap32 :: Word32 -> Word32 #
Reverse order of bytes in Word32.
Since: base-4.7.0.0
byteSwap16 :: Word16 -> Word16 #
Swap bytes in Word16.
Since: base-4.7.0.0
toIntegralSized :: (Integral a, Integral b, Bits a, Bits b) => a -> Maybe b #
Attempt to convert an Integral type a to an Integral type b using
the size of the types as measured by Bits methods.
A simpler version of this function is:
toIntegral :: (Integral a, Integral b) => a -> Maybe b
toIntegral x
| toInteger x == y = Just (fromInteger y)
| otherwise = Nothing
where
y = toInteger xThis version requires going through Integer, which can be inefficient.
However, toIntegralSized is optimized to allow GHC to statically determine
the relative type sizes (as measured by bitSizeMaybe and isSigned) and
avoid going through Integer for many types. (The implementation uses
fromIntegral, which is itself optimized with rules for base types but may
go through Integer for some type pairs.)
Since: base-4.8.0.0
popCountDefault :: (Bits a, Num a) => a -> Int #
Default implementation for popCount.
This implementation is intentionally naive. Instances are expected to provide an optimized implementation for their size.
Since: base-4.6.0.0
testBitDefault :: (Bits a, Num a) => a -> Int -> Bool #
Default implementation for testBit.
Note that: testBitDefault x i = (x .&. bit i) /= 0
Since: base-4.6.0.0
bitDefault :: (Bits a, Num a) => Int -> a #
The Bits class defines bitwise operations over integral types.
- Bits are numbered from 0 with bit 0 being the least significant bit.
Minimal complete definition
(.&.), (.|.), xor, complement, (shift | shiftL, shiftR), (rotate | rotateL, rotateR), bitSize, bitSizeMaybe, isSigned, testBit, bit, popCount
Methods
(.&.) :: a -> a -> a infixl 7 #
Bitwise "and"
(.|.) :: a -> a -> a infixl 5 #
Bitwise "or"
Bitwise "xor"
complement :: a -> a #
Reverse all the bits in the argument
shift :: a -> Int -> a infixl 8 #
shifts shift x ix left by i bits if i is positive,
or right by -i bits otherwise.
Right shifts perform sign extension on signed number types;
i.e. they fill the top bits with 1 if the x is negative
and with 0 otherwise.
An instance can define either this unified shift or shiftL and
shiftR, depending on which is more convenient for the type in
question.
rotate :: a -> Int -> a infixl 8 #
rotates rotate x ix left by i bits if i is positive,
or right by -i bits otherwise.
For unbounded types like Integer, rotate is equivalent to shift.
An instance can define either this unified rotate or rotateL and
rotateR, depending on which is more convenient for the type in
question.
zeroBits is the value with all bits unset.
The following laws ought to hold (for all valid bit indices n):
clearBitzeroBitsn ==zeroBitssetBitzeroBitsn ==bitntestBitzeroBitsn == FalsepopCountzeroBits== 0
This method uses as its default
implementation (which ought to be equivalent to clearBit (bit 0) 0zeroBits for
types which possess a 0th bit).
Since: base-4.7.0.0
bit i is a value with the ith bit set and all other bits clear.
Can be implemented using bitDefault if a is also an
instance of Num.
See also zeroBits.
x `setBit` i is the same as x .|. bit i
x `clearBit` i is the same as x .&. complement (bit i)
complementBit :: a -> Int -> a #
x `complementBit` i is the same as x `xor` bit i
Return True if the nth bit of the argument is 1
Can be implemented using testBitDefault if a is also an
instance of Num.
bitSizeMaybe :: a -> Maybe Int #
Return the number of bits in the type of the argument. The actual
value of the argument is ignored. Returns Nothing
for types that do not have a fixed bitsize, like Integer.
Since: base-4.7.0.0
Return the number of bits in the type of the argument. The actual
value of the argument is ignored. The function bitSize is
undefined for types that do not have a fixed bitsize, like Integer.
Default implementation based upon bitSizeMaybe provided since
4.12.0.0.
Return True if the argument is a signed type. The actual
value of the argument is ignored
shiftL :: a -> Int -> a infixl 8 #
Shift the argument left by the specified number of bits (which must be non-negative).
An instance can define either this and shiftR or the unified
shift, depending on which is more convenient for the type in
question.
unsafeShiftL :: a -> Int -> a #
Shift the argument left by the specified number of bits. The
result is undefined for negative shift amounts and shift amounts
greater or equal to the bitSize.
Defaults to shiftL unless defined explicitly by an instance.
Since: base-4.5.0.0
shiftR :: a -> Int -> a infixl 8 #
Shift the first argument right by the specified number of bits. The
result is undefined for negative shift amounts and shift amounts
greater or equal to the bitSize.
Right shifts perform sign extension on signed number types;
i.e. they fill the top bits with 1 if the x is negative
and with 0 otherwise.
An instance can define either this and shiftL or the unified
shift, depending on which is more convenient for the type in
question.
unsafeShiftR :: a -> Int -> a #
Shift the first argument right by the specified number of bits, which must be non-negative and smaller than the number of bits in the type.
Right shifts perform sign extension on signed number types;
i.e. they fill the top bits with 1 if the x is negative
and with 0 otherwise.
Defaults to shiftR unless defined explicitly by an instance.
Since: base-4.5.0.0
rotateL :: a -> Int -> a infixl 8 #
Rotate the argument left by the specified number of bits (which must be non-negative).
An instance can define either this and rotateR or the unified
rotate, depending on which is more convenient for the type in
question.
rotateR :: a -> Int -> a infixl 8 #
Rotate the argument right by the specified number of bits (which must be non-negative).
An instance can define either this and rotateL or the unified
rotate, depending on which is more convenient for the type in
question.
Return the number of set bits in the argument. This number is known as the population count or the Hamming weight.
Can be implemented using popCountDefault if a is also an
instance of Num.
Since: base-4.5.0.0
Instances
class Bits b => FiniteBits b where #
The FiniteBits class denotes types with a finite, fixed number of bits.
Since: base-4.7.0.0
Minimal complete definition
Methods
finiteBitSize :: b -> Int #
Return the number of bits in the type of the argument.
The actual value of the argument is ignored. Moreover, finiteBitSize
is total, in contrast to the deprecated bitSize function it replaces.
finiteBitSize=bitSizebitSizeMaybe=Just.finiteBitSize
Since: base-4.7.0.0
countLeadingZeros :: b -> Int #
Count number of zero bits preceding the most significant set bit.
countLeadingZeros(zeroBits:: a) = finiteBitSize (zeroBits:: a)
countLeadingZeros can be used to compute log base 2 via
logBase2 x =finiteBitSizex - 1 -countLeadingZerosx
Note: The default implementation for this method is intentionally naive. However, the instances provided for the primitive integral types are implemented using CPU specific machine instructions.
Since: base-4.8.0.0
countTrailingZeros :: b -> Int #
Count number of zero bits following the least significant set bit.
countTrailingZeros(zeroBits:: a) = finiteBitSize (zeroBits:: a)countTrailingZeros.negate=countTrailingZeros
The related
find-first-set operation
can be expressed in terms of countTrailingZeros as follows
findFirstSet x = 1 + countTrailingZeros x
Note: The default implementation for this method is intentionally naive. However, the instances provided for the primitive integral types are implemented using CPU specific machine instructions.
Since: base-4.8.0.0
Instances
type family If (cond :: Bool) (tru :: k) (fls :: k) :: k where ... #
Type-level If. If True a b ==> a; If False a b ==> b
type family Not (a :: Bool) = (res :: Bool) | res -> a where ... #
Type-level "not". An injective type family since 4.10.0.0.
Since: base-4.7.0.0
mapMaybe :: (a -> Maybe b) -> [a] -> [b] #
The mapMaybe function is a version of map which can throw
out elements. In particular, the functional argument returns
something of type . If this is Maybe bNothing, no element
is added on to the result list. If it is , then Just bb is
included in the result list.
Examples
Using is a shortcut for mapMaybe f x
in most cases:catMaybes $ map f x
>>>import Text.Read ( readMaybe )>>>let readMaybeInt = readMaybe :: String -> Maybe Int>>>mapMaybe readMaybeInt ["1", "Foo", "3"][1,3]>>>catMaybes $ map readMaybeInt ["1", "Foo", "3"][1,3]
If we map the Just constructor, the entire list should be returned:
>>>mapMaybe Just [1,2,3][1,2,3]
catMaybes :: [Maybe a] -> [a] #
The catMaybes function takes a list of Maybes and returns
a list of all the Just values.
Examples
Basic usage:
>>>catMaybes [Just 1, Nothing, Just 3][1,3]
When constructing a list of Maybe values, catMaybes can be used
to return all of the "success" results (if the list is the result
of a map, then mapMaybe would be more appropriate):
>>>import Text.Read ( readMaybe )>>>[readMaybe x :: Maybe Int | x <- ["1", "Foo", "3"] ][Just 1,Nothing,Just 3]>>>catMaybes $ [readMaybe x :: Maybe Int | x <- ["1", "Foo", "3"] ][1,3]
listToMaybe :: [a] -> Maybe a #
The listToMaybe function returns Nothing on an empty list
or where Just aa is the first element of the list.
Examples
Basic usage:
>>>listToMaybe []Nothing
>>>listToMaybe [9]Just 9
>>>listToMaybe [1,2,3]Just 1
Composing maybeToList with listToMaybe should be the identity
on singleton/empty lists:
>>>maybeToList $ listToMaybe [5][5]>>>maybeToList $ listToMaybe [][]
But not on lists with more than one element:
>>>maybeToList $ listToMaybe [1,2,3][1]
maybeToList :: Maybe a -> [a] #
The maybeToList function returns an empty list when given
Nothing or a singleton list when not given Nothing.
Examples
Basic usage:
>>>maybeToList (Just 7)[7]
>>>maybeToList Nothing[]
One can use maybeToList to avoid pattern matching when combined
with a function that (safely) works on lists:
>>>import Text.Read ( readMaybe )>>>sum $ maybeToList (readMaybe "3")3>>>sum $ maybeToList (readMaybe "")0
fromMaybe :: a -> Maybe a -> a #
The fromMaybe function takes a default value and and Maybe
value. If the Maybe is Nothing, it returns the default values;
otherwise, it returns the value contained in the Maybe.
Examples
Basic usage:
>>>fromMaybe "" (Just "Hello, World!")"Hello, World!"
>>>fromMaybe "" Nothing""
Read an integer from a string using readMaybe. If we fail to
parse an integer, we want to return 0 by default:
>>>import Text.Read ( readMaybe )>>>fromMaybe 0 (readMaybe "5")5>>>fromMaybe 0 (readMaybe "")0
maybe :: b -> (a -> b) -> Maybe a -> b #
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
Basic usage:
>>>maybe False odd (Just 3)True
>>>maybe False odd NothingFalse
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""
Builders denote sequences of bytes.
They are Monoids where
mempty is the zero-length sequence and
mappend is concatenation, which runs in O(1).
toLazyByteString :: Builder -> ByteString #
Execute a Builder and return the generated chunks as a lazy ByteString.
The work is performed lazy, i.e., only when a chunk of the lazy ByteString
is forced.
stringUtf8 :: String -> Builder #
UTF-8 encode a String.
hPutBuilder :: Handle -> Builder -> IO () #
Output a Builder to a Handle.
The Builder is executed directly on the buffer of the Handle. If the
buffer is too small (or not present), then it is replaced with a large
enough buffer.
It is recommended that the Handle is set to binary and
BlockBuffering mode. See hSetBinaryMode and hSetBuffering.
This function is more efficient than hPut . because in
many cases no buffer allocation has to be done. Moreover, the results of
several executions of short toLazyByteStringBuilders are concatenated in the Handles
buffer, therefore avoiding unnecessary buffer flushes.
integerDec :: Integer -> Builder #
Decimal encoding of an Integer using the ASCII digits.
lazyByteStringHex :: ByteString -> Builder #
Encode each byte of a lazy ByteString using its fixed-width hex encoding.
byteStringHex :: ByteString -> Builder #
Encode each byte of a ByteString using its fixed-width hex encoding.
doubleHexFixed :: Double -> Builder #
Encode an IEEE Double using 16 nibbles.
floatHexFixed :: Float -> Builder #
Encode an IEEE Float using 8 nibbles.
word64HexFixed :: Word64 -> Builder #
Encode a Word64 using 16 nibbles.
word32HexFixed :: Word32 -> Builder #
Encode a Word32 using 8 nibbles.
word16HexFixed :: Word16 -> Builder #
Encode a Word16 using 4 nibbles.
word8HexFixed :: Word8 -> Builder #
Encode a Word8 using 2 nibbles (hexadecimal digits).
int64HexFixed :: Int64 -> Builder #
Encode a Int64 using 16 nibbles.
int32HexFixed :: Int32 -> Builder #
Encode a Int32 using 8 nibbles.
int16HexFixed :: Int16 -> Builder #
Encode a Int16 using 4 nibbles.
int8HexFixed :: Int8 -> Builder #
Encode a Int8 using 2 nibbles (hexadecimal digits).
word64Hex :: Word64 -> Builder #
Shortest hexadecimal encoding of a Word64 using lower-case characters.
word32Hex :: Word32 -> Builder #
Shortest hexadecimal encoding of a Word32 using lower-case characters.
word16Hex :: Word16 -> Builder #
Shortest hexadecimal encoding of a Word16 using lower-case characters.
Decimal encoding of an Int8 using the ASCII digits.
e.g.
toLazyByteString (int8Dec 42) = "42" toLazyByteString (int8Dec (-1)) = "-1"
lazyByteString :: ByteString -> Builder #
Create a Builder denoting the same sequence of bytes as a lazy
ByteString.
The Builder inserts large chunks of the lazy ByteString directly,
but copies small ones to ensure that the generated chunks are large on
average.
byteString :: ByteString -> Builder #
Create a Builder denoting the same sequence of bytes as a strict
ByteString.
The Builder inserts large ByteStrings directly, but copies small ones
to ensure that the generated chunks are large on average.
shortByteString :: ShortByteString -> Builder #
Construct a Builder that copies the ShortByteString.
A class for types with a default value.
Minimal complete definition
Nothing
Instances
mapNext :: (s -> r) -> FunctionBuilder m r a -> FunctionBuilder m s a #
Convert the output of a FunctionBuilder value; since most
FunctionBuilders are parameteric in r they also have r in a
in a, such that a always either is r or is a
function returning r eventually.
In order to get from a FunctionBuilder that can accept a continuation returning it an r
to a FunctionBuilder that accepts continuations returning an s instead, we need to
apply a function s -> r to the return value of the continuation.
Note that a mapNext will not only change the r to an s but
probably also the the a, when it is parametric, as in this contrived example:
example :: Int -> x -> Sum Int example = toFunction (ign add) add :: FunctionBuilder (Sum Int) next (Int -> next) add = FB (\k x -> k $ Sum x) ign :: FunctionBuilder m (x -> r) a -> FunctionBuilder m r a ign = mapNext const
Here the extra parameter x is pushed down into the a of the add FunctionBuilder.
mapAccumulator :: (m -> n) -> FunctionBuilder m a b -> FunctionBuilder n a b #
Convert the accumulated (usually monoidal-) value, this allows to change the underlying accumlator type.
bind :: FunctionBuilder m g_next f_g_next -> (m -> FunctionBuilder n next g_next) -> FunctionBuilder n next f_g_next #
Compose to FunctionBuilders such that the second FunctionBuilder may depend on the intermediate result
of the first. Similar to a monadic bind >>= but more flexible sind the underlying
Monoid may change too, for example:
intText :: FunctionBuilder Text next (Int -> next) intText = deferred undefined unpackB :: Text -> FunctionBuilder String next next unpackB = immediate . unpack intStr :: FunctionBuilder String next (Int -> next) intStr = intText `bind` unpackB
tagParameter :: FunctionBuilder m r (a -> b) -> FunctionBuilder m r (Tagged tag a -> b) #
Convert a FunctionBuilder for a function (a -> b) to (Tagged tag a -> b).
fillParameter :: FunctionBuilder m r (a -> b) -> a -> FunctionBuilder m r b #
Take away a function parameter added with addParameter by pre - applying it to some
value.
For example:
intArg :: FunctionBuilder MyMonoid a (Int -> a) intArg = deferred undefined stringArg :: FunctionBuilder MyMonoid a (String -> a) stringArg = deferred undefined twoInt :: FunctionBuilder MyMonoid a (Int -> String -> a) twoInt = intArg . stringArg example :: FunctionBuilder MyMonoid a (String -> a) example = fillParameter twoInt 42
This is equivalent to:
fillParameter f x = f * pure x
immediate :: m -> FunctionBuilder m r r #
Create a FunctionBuilder that appends something to the (monoidal-) output value.
This is a smart constructor for a FunctionBuilder.
This functions is probably equal to:
immediate x = FB (\k -> k x)
The generated builder can be passed to toFunction since it is parametric
in its second type parameter.
Example:
When building a String formatting FunctionBuilder
the function to append a literal string could be:
s :: String -> FunctionBuilder String a a s = immediate
c :: Char -> FunctionBuilder String a a c = immediate . (:[])
example :: String example = toFunction (s "hello" . c ' ' . s "world")
>>>example"hello world"
See the example in toFunction.
deferred :: (a -> m) -> FunctionBuilder m r (a -> r) #
A smart constructor for a FunctionBuilder with that will build a function with
a parameter, and when the generated function is applied at that parameter
the function given here will be applied to the argument and the resulting monoidal
value will be appended to the result.
The generated builder can be passed to toFunction since it is parametric
in its second type parameter.
Example:
When building a String formatting FunctionBuilder
the function to append a parameter that has a show instance could be:
showing :: Show a => FunctionBuilder String r (a -> r) showing = deferred show
example :: (Show a, Show b) => a -> b -> String example = toFunction (showing . showing)
>>>example True 0.33214"True0.33214"
See the example in toFunction.
Since: function-builder-0.3.0.0
toFunction :: FunctionBuilder output output make_output -> make_output #
Get the composed output function of a FunctionBuilder.
The FunctionBuilder passed to this function must match this signature:
FunctionBuilder m m (arg0 -> .. -> m)
This means that the result of the generated function arg0 -> .. -> m MUST be
m, the underlying Monoid.
The FunctionBuilders generated by deferred and immediate are parametric
in the second type parameter and match the type signature required by this function.
Example 1:
fb :: FunctionBuilder String String (Int -> Double -> Int -> String) fb = undefined example :: Int -> Double -> Int -> String example = toFunction fb
Example 2:
example :: Int -> Double -> Int -> String example = toFunction (i . d . i) s :: String -> FunctionBuilder String a a s x = FB (\k -> k x) i :: FunctionBuilder String next (Int -> next) i = FB (\k x -> k $ show x) d :: FunctionBuilder String next (Double -> next) d = FB (\k x -> k $ show x)
newtype FunctionBuilder acc next f_make_next #
A tricky newtype wrapper around a function that carries out a computation resulting in a monoidal output value that is passed to a continuation.
Type parameters:
acc- Type of monoidal value that is build from the parameters of the function
returned by
toFunction. For example: In aprintfstyle formatting libraryacccould beString. next- The trick- parameter that allows composing
FunctionBuilders. Also note thatFunctionBuilders are contravarient in this parameter;nextis the output of the continuationacc -> next, hence this is an input from the perspective of theFunctionBuilder. f_make_next- This is usually a function type that returns
next, this is the type of the output function returned bytoFunction.
A FunctionBuilder acc next f is a newtype wrapper around functions of type
(acc -> next) -> f.
The immediate return value of the function is usually a function type,
that takes zero or more arguments: a_0 -> .. -> a_N -> next.
The FunctionBuilders that deferred returns are polymorphic in next.
And next is the key for composition.
For example:
fb1 :: FunctionBuilder MyMonoid next (Int -> next) fb1 = deferred undefined fb2 :: FunctionBuilder MyMonoid next (String -> next) fb2 = deferred undefined newtype MyMonoid = MyMonoid () deriving (Semigroup, Monoid)
When we desugar with ghci:
>>>:t (runFunctionBuilder fb1)(runFunctionBuilder fb1) :: (MyMonoid -> next) -> Int -> next
>>>:t (runFunctionBuilder fb2)(runFunctionBuilder fb2) :: (MyMonoid -> next) -> String -> next
Composition comes in two flavours:
- By using
.to add to the accumulator a value passed to an additional argument of the resulting output function (see example below). - By using
<>to append a fixed value to the accumulator directly.
When composing fb1 and fb2 using . we get:
>>>:t (fb1 . fb2)(fb1 . fb2) :: FunctionBuilder MyMonoid a (Int -> String -> a)
And desugared:
>>>:t runFunctionBuilder (fb1 . fb2)runFunctionBuilder (fb1 . fb2) :: (MyMonoid -> next) -> Int -> String -> next
What happened during composition was that the next in fb1 was used to insert
into Int -> next the String -> other_next from fb2; such that this results in
Int -> (String -> other_next).
(Note: For clarity I renamed the type local type parameter next to other_next from fb2)
Also, there is the StaticContent type class for types that have function builders.
NOTE: FunctionBuilder w a b is actually Cokleisli ((->) w) a b
When w is a Monoid then, ((->) w) is a Comonad instance.
The reason why this library does not use the comonad library under the hood
is currently only the missing Semigroup and Monoid instances; and
to avoid orphan instances a newtype wrapper would be required, and that
does not justify the additional dependency and the pollution of this library
with scary Cokleislies and Comonads.
Constructors
| FB | |
Fields
| |
Instances
| Monoid m => Category (FunctionBuilder m :: Type -> Type -> Type) | Compose |
Defined in Data.FunctionBuilder Methods id :: FunctionBuilder m a a # (.) :: FunctionBuilder m b c -> FunctionBuilder m a b -> FunctionBuilder m a c # | |
| Monad (FunctionBuilder m r) | |
Defined in Data.FunctionBuilder Methods (>>=) :: FunctionBuilder m r a -> (a -> FunctionBuilder m r b) -> FunctionBuilder m r b # (>>) :: FunctionBuilder m r a -> FunctionBuilder m r b -> FunctionBuilder m r b # return :: a -> FunctionBuilder m r a # fail :: String -> FunctionBuilder m r a # | |
| Functor (FunctionBuilder m r) | |
Defined in Data.FunctionBuilder Methods fmap :: (a -> b) -> FunctionBuilder m r a -> FunctionBuilder m r b # (<$) :: a -> FunctionBuilder m r b -> FunctionBuilder m r a # | |
| Applicative (FunctionBuilder m r) | |
Defined in Data.FunctionBuilder Methods pure :: a -> FunctionBuilder m r a # (<*>) :: FunctionBuilder m r (a -> b) -> FunctionBuilder m r a -> FunctionBuilder m r b # liftA2 :: (a -> b -> c) -> FunctionBuilder m r a -> FunctionBuilder m r b -> FunctionBuilder m r c # (*>) :: FunctionBuilder m r a -> FunctionBuilder m r b -> FunctionBuilder m r b # (<*) :: FunctionBuilder m r a -> FunctionBuilder m r b -> FunctionBuilder m r a # | |
| Semigroup m => Semigroup (FunctionBuilder m r r) | Allow appending a |
Defined in Data.FunctionBuilder Methods (<>) :: FunctionBuilder m r r -> FunctionBuilder m r r -> FunctionBuilder m r r # sconcat :: NonEmpty (FunctionBuilder m r r) -> FunctionBuilder m r r # stimes :: Integral b => b -> FunctionBuilder m r r -> FunctionBuilder m r r # | |
| Monoid m => Monoid (FunctionBuilder m r r) | Allow appending a |
Defined in Data.FunctionBuilder Methods mempty :: FunctionBuilder m r r # mappend :: FunctionBuilder m r r -> FunctionBuilder m r r -> FunctionBuilder m r r # mconcat :: [FunctionBuilder m r r] -> FunctionBuilder m r r # | |
class HasFunctionBuilder m a where #
Types a that can be turned into FunctionBuilders
for a base monoid m.
This is the abstract version of StaticContent and DynamicContent
Since: function-builder-0.1.2.0
Methods
toFunctionBuilder :: a -> FunctionBuilder m r (ToFunction m a r) #
Make a FunctionBuilder from some value.
Instances
class StaticContent m a where #
Types a that can be turned into FunctionBuilders
for a base monoid m.
These type can provide a function to work on the internal monoid,
They can be constructed using immediate.
Of course they can incorporate information statically known at compile time or via type class dictionaries (through singletons for instance).
For example:
instance forall s . (KnownSymbol s) => StaticContent String (Proxy s) where addStaticContent = immediate (symbolVal (Proxy @s))
Since: function-builder-0.2.0.0
Minimal complete definition
Nothing
Methods
addStaticContent :: a -> FunctionBuilder m next next #
Return a FunctionBuilder that can work on the underlying monoid.
class DynamicContent m a parameter | m a -> parameter where #
Types that have a FunctionBuilder with a runtime parameter
for a base monoid m.
For example:
If an instance adds an Int parameter, it will define this family instance:
instance DynamicContent String (Proxy "%i") Int where addParameter _ = deferred
Since: function-builder-0.2.0.0
Minimal complete definition
Nothing
Methods
addParameter :: a -> FunctionBuilder m next (parameter -> next) #
Create a FunctionBuilder that adds a parameter to the output function,
and converts that argument to a value that can be accumulated in the
resulting monoidal value.
Instances
newtype Tagged (s :: k) b :: forall k. k -> Type -> Type #
A value is a value Tagged s bb with an attached phantom type s.
This can be used in place of the more traditional but less safe idiom of
passing in an undefined value with the type, because unlike an (s -> b),
a can't try to use the argument Tagged s bs as a real value.
Moreover, you don't have to rely on the compiler to inline away the extra argument, because the newtype is "free"
Tagged has kind k -> * -> * if the compiler supports PolyKinds, therefore
there is an extra k showing in the instance haddocks that may cause confusion.
Instances
| Bitraversable (Tagged :: Type -> Type -> Type) | |
Defined in Data.Tagged Methods bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Tagged a b -> f (Tagged c d) # | |
| Bifoldable (Tagged :: Type -> Type -> Type) | |
| Bifunctor (Tagged :: Type -> Type -> Type) | |
| Eq2 (Tagged :: Type -> Type -> Type) | |
| Ord2 (Tagged :: Type -> Type -> Type) | |
Defined in Data.Tagged | |
| Read2 (Tagged :: Type -> Type -> Type) | |
Defined in Data.Tagged Methods liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Tagged a b) # liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Tagged a b] # liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Tagged a b) # liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Tagged a b] # | |
| Show2 (Tagged :: Type -> Type -> Type) | |
| Generic1 (Tagged s :: Type -> Type) | |
| Monad (Tagged s) | |
| Functor (Tagged s) | |
| Applicative (Tagged s) | |
| Foldable (Tagged s) | |
Defined in Data.Tagged Methods fold :: Monoid m => Tagged s m -> m # foldMap :: Monoid m => (a -> m) -> Tagged s a -> m # foldr :: (a -> b -> b) -> b -> Tagged s a -> b # foldr' :: (a -> b -> b) -> b -> Tagged s a -> b # foldl :: (b -> a -> b) -> b -> Tagged s a -> b # foldl' :: (b -> a -> b) -> b -> Tagged s a -> b # foldr1 :: (a -> a -> a) -> Tagged s a -> a # foldl1 :: (a -> a -> a) -> Tagged s a -> a # elem :: Eq a => a -> Tagged s a -> Bool # maximum :: Ord a => Tagged s a -> a # minimum :: Ord a => Tagged s a -> a # | |
| Traversable (Tagged s) | |
| Eq1 (Tagged s) | |
| Ord1 (Tagged s) | |
Defined in Data.Tagged | |
| Read1 (Tagged s) | |
Defined in Data.Tagged | |
| Show1 (Tagged s) | |
| Bounded b => Bounded (Tagged s b) | |
| Enum a => Enum (Tagged s a) | |
Defined in Data.Tagged Methods succ :: Tagged s a -> Tagged s a # pred :: Tagged s a -> Tagged s a # fromEnum :: Tagged s a -> Int # enumFrom :: Tagged s a -> [Tagged s a] # enumFromThen :: Tagged s a -> Tagged s a -> [Tagged s a] # enumFromTo :: Tagged s a -> Tagged s a -> [Tagged s a] # enumFromThenTo :: Tagged s a -> Tagged s a -> Tagged s a -> [Tagged s a] # | |
| Eq b => Eq (Tagged s b) | |
| Floating a => Floating (Tagged s a) | |
Defined in Data.Tagged Methods exp :: Tagged s a -> Tagged s a # log :: Tagged s a -> Tagged s a # sqrt :: Tagged s a -> Tagged s a # (**) :: Tagged s a -> Tagged s a -> Tagged s a # logBase :: Tagged s a -> Tagged s a -> Tagged s a # sin :: Tagged s a -> Tagged s a # cos :: Tagged s a -> Tagged s a # tan :: Tagged s a -> Tagged s a # asin :: Tagged s a -> Tagged s a # acos :: Tagged s a -> Tagged s a # atan :: Tagged s a -> Tagged s a # sinh :: Tagged s a -> Tagged s a # cosh :: Tagged s a -> Tagged s a # tanh :: Tagged s a -> Tagged s a # asinh :: Tagged s a -> Tagged s a # acosh :: Tagged s a -> Tagged s a # atanh :: Tagged s a -> Tagged s a # log1p :: Tagged s a -> Tagged s a # expm1 :: Tagged s a -> Tagged s a # | |
| Fractional a => Fractional (Tagged s a) | |
| Integral a => Integral (Tagged s a) | |
Defined in Data.Tagged Methods quot :: Tagged s a -> Tagged s a -> Tagged s a # rem :: Tagged s a -> Tagged s a -> Tagged s a # div :: Tagged s a -> Tagged s a -> Tagged s a # mod :: Tagged s a -> Tagged s a -> Tagged s a # quotRem :: Tagged s a -> Tagged s a -> (Tagged s a, Tagged s a) # divMod :: Tagged s a -> Tagged s a -> (Tagged s a, Tagged s a) # | |
| (Data s, Data b) => Data (Tagged s b) | |
Defined in Data.Tagged Methods gfoldl :: (forall d b0. Data d => c (d -> b0) -> d -> c b0) -> (forall g. g -> c g) -> Tagged s b -> c (Tagged s b) # gunfold :: (forall b0 r. Data b0 => c (b0 -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Tagged s b) # toConstr :: Tagged s b -> Constr # dataTypeOf :: Tagged s b -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Tagged s b)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Tagged s b)) # gmapT :: (forall b0. Data b0 => b0 -> b0) -> Tagged s b -> Tagged s b # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tagged s b -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tagged s b -> r # gmapQ :: (forall d. Data d => d -> u) -> Tagged s b -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tagged s b -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tagged s b -> m (Tagged s b) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tagged s b -> m (Tagged s b) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tagged s b -> m (Tagged s b) # | |
| Num a => Num (Tagged s a) | |
Defined in Data.Tagged | |
| Ord b => Ord (Tagged s b) | |
| Read b => Read (Tagged s b) | |
| Real a => Real (Tagged s a) | |
Defined in Data.Tagged Methods toRational :: Tagged s a -> Rational # | |
| RealFloat a => RealFloat (Tagged s a) | |
Defined in Data.Tagged Methods floatRadix :: Tagged s a -> Integer # floatDigits :: Tagged s a -> Int # floatRange :: Tagged s a -> (Int, Int) # decodeFloat :: Tagged s a -> (Integer, Int) # encodeFloat :: Integer -> Int -> Tagged s a # exponent :: Tagged s a -> Int # significand :: Tagged s a -> Tagged s a # scaleFloat :: Int -> Tagged s a -> Tagged s a # isInfinite :: Tagged s a -> Bool # isDenormalized :: Tagged s a -> Bool # isNegativeZero :: Tagged s a -> Bool # | |
| RealFrac a => RealFrac (Tagged s a) | |
| Show b => Show (Tagged s b) | |
| Ix b => Ix (Tagged s b) | |
Defined in Data.Tagged Methods range :: (Tagged s b, Tagged s b) -> [Tagged s b] # index :: (Tagged s b, Tagged s b) -> Tagged s b -> Int # unsafeIndex :: (Tagged s b, Tagged s b) -> Tagged s b -> Int inRange :: (Tagged s b, Tagged s b) -> Tagged s b -> Bool # rangeSize :: (Tagged s b, Tagged s b) -> Int # unsafeRangeSize :: (Tagged s b, Tagged s b) -> Int | |
| IsString a => IsString (Tagged s a) | |
Defined in Data.Tagged Methods fromString :: String -> Tagged s a # | |
| Generic (Tagged s b) | |
| Semigroup a => Semigroup (Tagged s a) | |
| (Semigroup a, Monoid a) => Monoid (Tagged s a) | |
| Storable a => Storable (Tagged s a) | |
Defined in Data.Tagged Methods alignment :: Tagged s a -> Int # peekElemOff :: Ptr (Tagged s a) -> Int -> IO (Tagged s a) # pokeElemOff :: Ptr (Tagged s a) -> Int -> Tagged s a -> IO () # peekByteOff :: Ptr b -> Int -> IO (Tagged s a) # pokeByteOff :: Ptr b -> Int -> Tagged s a -> IO () # | |
| Bits a => Bits (Tagged s a) | |
Defined in Data.Tagged Methods (.&.) :: Tagged s a -> Tagged s a -> Tagged s a # (.|.) :: Tagged s a -> Tagged s a -> Tagged s a # xor :: Tagged s a -> Tagged s a -> Tagged s a # complement :: Tagged s a -> Tagged s a # shift :: Tagged s a -> Int -> Tagged s a # rotate :: Tagged s a -> Int -> Tagged s a # setBit :: Tagged s a -> Int -> Tagged s a # clearBit :: Tagged s a -> Int -> Tagged s a # complementBit :: Tagged s a -> Int -> Tagged s a # testBit :: Tagged s a -> Int -> Bool # bitSizeMaybe :: Tagged s a -> Maybe Int # bitSize :: Tagged s a -> Int # isSigned :: Tagged s a -> Bool # shiftL :: Tagged s a -> Int -> Tagged s a # unsafeShiftL :: Tagged s a -> Int -> Tagged s a # shiftR :: Tagged s a -> Int -> Tagged s a # unsafeShiftR :: Tagged s a -> Int -> Tagged s a # rotateL :: Tagged s a -> Int -> Tagged s a # | |
| FiniteBits a => FiniteBits (Tagged s a) | |
Defined in Data.Tagged Methods finiteBitSize :: Tagged s a -> Int # countLeadingZeros :: Tagged s a -> Int # countTrailingZeros :: Tagged s a -> Int # | |
| Default c => Default (Tagged s c) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.ReExports | |
| NFData b => NFData (Tagged s b) | |
Defined in Data.Tagged | |
| IsBoxContent c => IsBoxContent (Tagged s c) Source # | |
| type Rep1 (Tagged s :: Type -> Type) | |
Defined in Data.Tagged | |
| type ToPretty (Tagged s b :: Type) | Pretty print a Since: pretty-types-0.2.2.0 |
Defined in Data.Type.Pretty | |
| type Rep (Tagged s b) | |
Defined in Data.Tagged | |
writeIndented :: String -> PTM () #
Internal; write a possibly indented string, and update the PTRenderState accordingly.
Since: pretty-types-0.2.0.0
Arguments
| :: PrettyTypeShow (ToPretty t) | |
| => proxy t | A proxy to the type to print. A |
| -> String |
Pretty print either types of kind PrettyType or any other type with a
ToPretty instance.
type family ToPretty (a :: k) :: PrettyType #
Create a PrettyType from a type.
This is a type-level equivalent of the Show class.
Write an instance of this for converting your type (preferrable of your
kind also) to a promoted PrettyType.
Instances
| type ToPretty False | Render Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty True | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty (t :: Nat) | A type of kind Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty (t :: Symbol) | A type of kind Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty (t :: PrettyType) | A type of kind |
Defined in Data.Type.Pretty | |
| type ToPretty (rec :: BitRecord) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type ToPretty (Value s k1 x :: Type) Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type ToPretty (t :: Maybe x) | Render a type of kind Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Bool | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Double | Render Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Float | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Int | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Int8 | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Int16 | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Int32 | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Int64 | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Integer | Render Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Word8 | Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Word16 | Render Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Word32 | Render Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty Word64 | Render Since: pretty-types-0.2.1.0 |
Defined in Data.Type.Pretty | |
| type ToPretty ASizedString Source # | |
Defined in Data.Type.BitRecords.SizedString | |
| type ToPretty Byte Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type ToPretty Bit Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type ToPretty Empty Source # | |
Defined in Data.Type.BitRecords.Structure.TypeLits | |
| type ToPretty (f :: Extends (BitRecordField t)) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type ToPretty (struct :: Extends (Structure sizeType)) Source # | |
Defined in Data.Type.BitRecords.Structure | |
| type ToPretty (EnumValue e :: Type) Source # | |
Defined in Data.Type.BitRecords.Enum | |
| type ToPretty (Tagged s b :: Type) | Pretty print a Since: pretty-types-0.2.2.0 |
Defined in Data.Type.Pretty | |
| type ToPretty (Signed t v :: Type) Source # | |
| type ToPretty (Sequence t v :: Type) Source # | |
| type ToPretty (Negative v :: Signed t k2) Source # | |
| type ToPretty (Positive v :: Signed t k2) Source # | |
type family ToPrettyMaybe (t :: Maybe x) :: PrettyType where ... #
Render a type of kind Maybe.
Since: pretty-types-0.2.1.0
Equations
| ToPrettyMaybe (Nothing :: Maybe x) = PrettyEmpty | |
| ToPrettyMaybe (Just x :: Maybe k) = ToPretty x |
type PutStr (str :: Symbol) = PrettySymbol PrettyUnpadded PrettyPrecise str #
A PrettyType for a string.
type PutStrW (width :: Nat) (str :: Symbol) = PrettySymbol (PrettyPadded width) (PrettyPrecision width) str #
A PrettyType for a string with the exact given width.
type PutStrLn (str :: Symbol) = PutStr str <++> PutStr "\n" #
A PrettyType for a string with a newline character at the end.
type PutNat (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyDec x #
A PrettyType for a number.
type PutNatW (width :: Nat) (x :: Nat) = PrettyNat (PrettyPadded width) PrettyPrecise PrettyDec x #
A PrettyType for a number with a width.
type PutHex (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyHex x #
Create PrettyType from a Nat formatted as hex number using
lower-case letters for the hex digits.
type PutHex8 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 2) PrettyHex x #
Create PrettyType from a Nat formatted as 8 bit hex number using
lower-case letters for the hex digits.
type PutHex16 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 4) PrettyHex x #
Create PrettyType from a Nat formatted as 16 bit hex number using
lower-case letters for the hex digits.
type PutHex32 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 8) PrettyHex x #
Create PrettyType from a Nat formatted as 32 bit hex number using
lower-case letters for the hex digits.
type PutHex64 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 16) PrettyHex x #
Create PrettyType from a Nat formatted as 64 bit hex number using
lower-case letters for the hex digits.
type PutHeX (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyHexU x #
Create PrettyType from a Nat formatted as hex number using
lower-case letters for the hex digits.
type PutHeX8 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 2) PrettyHexU x #
Create PrettyType from a Nat formatted as 8 bit hex number using
uppercase letters for the hex digits.
type PutHeX16 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 4) PrettyHexU x #
Create PrettyType from a Nat formatted as 16 bit hex number using
uppercase letters for the hex digits.
type PutHeX32 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 8) PrettyHexU x #
Create PrettyType from a Nat formatted as 32 bit hex number using
uppercase letters for the hex digits.
type PutHeX64 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 16) PrettyHexU x #
Create PrettyType from a Nat formatted as 64 bit hex number using
uppercase letters for the hex digits.
type PutBits (x :: Nat) = PrettyNat PrettyUnpadded PrettyPrecise PrettyBit x #
Create PrettyType from a Nat formatted as bit representation,
>>>showPretty (Proxy :: Proxy (PutBits 5))"101"
type PutBits8 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 8) PrettyBit x #
Create PrettyType from a Nat formatted as 8-bit bit representation,
>>>showPretty (Proxy :: Proxy (PutBits8 5))"00000101"
type PutBits16 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 16) PrettyBit x #
Create PrettyType from a Nat formatted as 16-bit bit representation,
>>>showPretty (Proxy :: Proxy (PutBits16 5))"00000000000000101"
type PutBits32 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 32) PrettyBit x #
Create PrettyType from a Nat formatted as 32-bit bit representation,
>>>showPretty (Proxy :: Proxy (PutBits32 5))"00000000000000000000000000000000101"
type PutBits64 (x :: Nat) = PrettyNat PrettyUnpadded (PrettyPrecision 64) PrettyBit x #
Create PrettyType from a Nat formatted as 64-bit bit representation,
>>>showPretty (Proxy :: Proxy (PutBits64 5))"00000000000000000000000000000000000000000000000000000000000000000000101"
type (<:>) (label :: Symbol) (body :: PrettyType) = PrettySuffix (PutStr ":") (PutStr label) <+> body infixl 5 #
A label followed by a colon and space : followed by another element.
>>>showPretty (Proxy :: Proxy ("foo" <:> PutStr "bar"))@ foo: bar @
Since: pretty-types-0.2.0.0
type (<:$$>) (label :: Symbol) (body :: PrettyType) = PrettySuffix (PutStr ":") (PutStr label) <$$> body infixl 5 #
Like <:> but begin the body on a new line.
>>>showPretty (Proxy :: Proxy (PutStr "foo" <:$$> PutStr "bar"))@ foo: bar @
Since: pretty-types-0.2.0.0
type (<:$$-->) (label :: Symbol) (body :: PrettyType) = PrettySuffix (PutStr ":") (PutStr label) <$$--> body infixl 3 #
Like '<:$$__>' but indent the body with two spaces.
>>>showPretty (Proxy :: Proxy (PutStr "foo" <:$$--> PutStr "bar"))@ foo: bar @
Since: pretty-types-0.2.0.0
type (<++>) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettyEmpty l r infixl 6 #
Concatenate two PrettyType.
type (<+>) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettySpace l r infixl 5 #
Concatenate two PrettyType using a PrettySpace.
type (<||>) (l :: PrettyType) (r :: PrettyType) = PrettyAlternative l r infixl 5 #
Choose the first non-empty from two PrettyTypes.
Since: pretty-types-0.2.0.0
type (<$$>) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettyNewline l r infixl 4 #
Concatenate two PrettyType using a PrettyNewline.
type (<$$-->) (l :: PrettyType) (r :: PrettyType) = PrettyInfix PrettyNewline l (PrettyIndent 2 r) infixl 3 #
Concatenate two PrettyType using a PrettyNewline and indent the second.
Since: pretty-types-0.2.0.0
type PrettyParens (doc :: PrettyType) = PrettySurrounded (PutStr "(") (PutStr ")") doc #
Surround a pretty with parens
type PrettySurrounded (open :: PrettyType) (close :: PrettyType) (doc :: PrettyType) = (open <++> doc) <++> close #
Surround a pretty with some pretties
type PrettyWide (docs :: [PrettyType]) = PrettyMany PrettySpace docs #
Combine a (type level) list of PrettyTypes next to each other using
PrettySpace
type PrettyHigh (docs :: [PrettyType]) = PrettyMany PrettyNewline docs #
Combine a (type level) list of PrettyTypes below each other using
PrettyNewline
type PrettyManyIn (sep :: PrettyType) (docs :: [PrettyType]) = PrettySurrounded sep sep (PrettyMany sep docs) #
A combination of PrettySpace and PrettyMany, e.g.:
>>>showPretty (Proxy :: Proxy (PrettyManyIn (PutStr "|") '[PutStr "a", PutStr "b"]))"|a|b|"
type family PrettyMany (sep :: PrettyType) (docs :: [PrettyType]) :: PrettyType where ... #
Combine a (type level) list of PrettyTypes seperated by a seperation
element.
Equations
| PrettyMany sep ([] :: [PrettyType]) = PrettyEmpty | |
| PrettyMany sep (singleOne ': ([] :: [PrettyType])) = singleOne | |
| PrettyMany sep (next ': rest) = (next <++> sep) <++> PrettyMany sep rest |
type family PrettyOften (n :: Nat) (doc :: PrettyType) :: PrettyType where ... #
Repeat a PrettyType n-times and append the copies.
Equations
| PrettyOften 0 doc = PrettyEmpty | |
| PrettyOften n doc = doc <++> PrettyOften (n - 1) doc |
data PrettyType #
Combinators for type documents.
The basis for pretty printing is this eDSL. It is rendered via the
PrettyTypeShow instances for its promoted constructors.
Only the promoted constructors are used, only they have instances for that class.
Constructors
| PrettyEmpty | |
| PrettySpace | |
| PrettyNewline | Begin a newline. Always use this otherwise indentation will not work! |
| PrettySymbol PrettyPadded PrettyPrecision Symbol | |
| PrettyNat PrettyPadded PrettyPrecision PrettyNatFormat Nat | |
| PrettyPrefix PrettyType PrettyType | Prefix the second with the first argument, but only if it (the second) has content. Since: pretty-types-0.2.0.0 |
| PrettyInfix PrettyType PrettyType PrettyType | Combine the last to arguments with the first in between them, but only if both have content. |
| PrettySuffix PrettyType PrettyType | Add a the first argument as suffix to the second argument, but only if the second has content. Since: pretty-types-0.2.0.0 |
| PrettyIndent Nat PrettyType | Indentation. Prefix any line using the given number of Since: pretty-types-0.2.0.0 |
| PrettyAlternative PrettyType PrettyType | Alternative rendering, if the first document ist empty the second will be rendered. Since: pretty-types-0.2.0.0 |
Instances
| type ToPretty (t :: PrettyType) | A type of kind |
Defined in Data.Type.Pretty | |
data PrettyPadded #
Padding for PrettyTypes PrettySymbol and PrettyNat.
Constructors
| PrettyUnpadded | No minimum or fixed width |
| PrettyPadded Nat | Pad a |
Instances
| PrintfArgModifier PrettyUnpadded | Translation of |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p PrettyUnpadded -> String # | |
| KnownNat p => PrintfArgModifier (PrettyPadded p :: PrettyPadded) | Translation of |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p0 (PrettyPadded0 p) -> String # | |
data PrettyPrecision #
The precision for PrettySymbol and PrettyNat.
Constructors
| PrettyPrecise | No minimum precision. |
| PrettyPrecision Nat | Precision, for |
Instances
| PrintfArgModifier PrettyPrecise | Translation of |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p PrettyPrecise -> String # | |
| KnownNat p => PrintfArgModifier (PrettyPrecision p :: PrettyPrecision) | Translation of |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p0 (PrettyPrecision0 p) -> String # | |
data PrettyNatFormat #
PrettyNat formatting options.
Constructors
| PrettyHex | Hexa decimal rendering:
|
| PrettyHexU | Hexa decimal rendering (upper case):
|
| PrettyDec | Decimal rendering:
|
| PrettyBit | Binary rendering:
|
Instances
| PrintfArgModifier PrettyBit | |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p PrettyBit -> String # | |
| PrintfArgModifier PrettyDec | |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p PrettyDec -> String # | |
| PrintfArgModifier PrettyHexU | Translation of |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p PrettyHexU -> String # | |
| PrintfArgModifier PrettyHex | |
Defined in Data.Type.Pretty Methods toPrintfArgModifier :: p PrettyHex -> String # | |
type Prettifies t = Prettifier t -> Type #
Kind of Prettifier data types.
The type that all data types share, such that they can be passed to
PrettifyWith.
Sometimes it is desirable to pass around pretty-printing functions called
Prettifier in this library. A Prettifier is a parameterized pretty-printer
that accepts a parameter of a specific kind.
For example:
data PutStrIsh :: Prettifies Symbol type instance PrettifyWith PutStrIsh str = PutStr str ++ PutStr "ish"
>>>showPretty (Proxy @(PrettifyWith PutStrIsh "That's pretty okay"))"That's pretty okayish"
Since: pretty-types-0.2.3.0
data Prettifier a #
An abstract declaration of a pretty-printing (type-)function that takes a specific kind of types as parameter.
Since: pretty-types-0.2.3.0
type family PrettifyWith (f :: Prettifies k) (x :: k) :: PrettyType #
Apply a Prettifier to a type in order to get a PrettyType
Since: pretty-types-0.2.3.0
Instances
| type PrettifyWith (PrettyTitled title indentation :: Prettifier k -> Type) (body :: k) | |
Defined in Data.Type.Pretty type PrettifyWith (PrettyTitled title indentation :: Prettifier k -> Type) (body :: k) = PrettyInfix PrettyNewline title (PrettyIndent indentation (ToPretty body)) | |
data PrettyTitled (title :: PrettyType) (indentation :: Nat) (a :: Prettifier t) :: forall t. PrettyType -> Nat -> Prettifier t -> Type #
Write a title and print the indented, ToPretty-fied body starting on the
next line.
Since: pretty-types-0.2.3.0
Instances
| type PrettifyWith (PrettyTitled title indentation :: Prettifier k -> Type) (body :: k) | |
Defined in Data.Type.Pretty type PrettifyWith (PrettyTitled title indentation :: Prettifier k -> Type) (body :: k) = PrettyInfix PrettyNewline title (PrettyIndent indentation (ToPretty body)) | |
class PrettyTypeShow (p :: PrettyType) where #
An internal type class for rendering the types of kind PrettyType.
Minimal complete definition
Methods
Given any proxy to a promoted constructor of PrettyType, generate a
String.
ptHasContent :: proxy p -> PTM Bool #
Instances
| PrettyTypeShow PrettyNewline | Print a single newline character. |
Defined in Data.Type.Pretty | |
| PrettyTypeShow PrettySpace | Print a single space character. |
Defined in Data.Type.Pretty | |
| PrettyTypeShow PrettyEmpty | Print nothing. |
Defined in Data.Type.Pretty | |
| (PrettyTypeShow l, PrettyTypeShow r) => PrettyTypeShow (PrettyAlternative l r) | Render the first document, and if it is empty, the second Since: pretty-types-0.2.0.0 |
Defined in Data.Type.Pretty Methods ptShow :: proxy (PrettyAlternative l r) -> PTM () # ptHasContent :: proxy (PrettyAlternative l r) -> PTM Bool # | |
| (PrettyTypeShow r, KnownNat n) => PrettyTypeShow (PrettyIndent n r) | Render an indented, nested type. Since: pretty-types-0.2.0.0 |
Defined in Data.Type.Pretty Methods ptShow :: proxy (PrettyIndent n r) -> PTM () # ptHasContent :: proxy (PrettyIndent n r) -> PTM Bool # | |
| (PrettyTypeShow sep, PrettyTypeShow x) => PrettyTypeShow (PrettySuffix sep x) | Add a Since: pretty-types-0.2.0.0 |
Defined in Data.Type.Pretty Methods ptShow :: proxy (PrettySuffix sep x) -> PTM () # ptHasContent :: proxy (PrettySuffix sep x) -> PTM Bool # | |
| (PrettyTypeShow sep, PrettyTypeShow x) => PrettyTypeShow (PrettyPrefix sep x) | Prefix a |
Defined in Data.Type.Pretty Methods ptShow :: proxy (PrettyPrefix sep x) -> PTM () # ptHasContent :: proxy (PrettyPrefix sep x) -> PTM Bool # | |
| (PrettyTypeShow sep, PrettyTypeShow l, PrettyTypeShow r) => PrettyTypeShow (PrettyInfix sep l r) | Concatenate two |
Defined in Data.Type.Pretty Methods ptShow :: proxy (PrettyInfix sep l r) -> PTM () # ptHasContent :: proxy (PrettyInfix sep l r) -> PTM Bool # | |
| (KnownSymbol t, PrintfArgModifier pad, PrintfArgModifier prec) => PrettyTypeShow (PrettySymbol pad prec t) | Print a |
Defined in Data.Type.Pretty Methods ptShow :: proxy (PrettySymbol pad prec t) -> PTM () # ptHasContent :: proxy (PrettySymbol pad prec t) -> PTM Bool # | |
| (KnownNat x, PrintfArgModifier fmt, PrintfArgModifier pad, PrintfArgModifier prec) => PrettyTypeShow (PrettyNat pad prec fmt x) | Print a |
Defined in Data.Type.Pretty | |
type PTM a = RWS Indentation String PTRenderState a #
The monad used by ptShow to keep track of indentation.
Since: pretty-types-0.2.0.0
type Indentation = Int #
data PTRenderState #
Constructors
| AtBeginningOfLine | |
| AlreadyIndented |
class PrintfArgModifier (a :: k) where #
Internal printf format generation. Used internally by PrettyTypeShow
instances to generate the format string piece by piece with the values for
the instances of e.g. PrettyPrecise, PrettyNatFormat, or PrettyEmpty.
Methods
toPrintfArgModifier :: p a -> String #
Generate a piece of a printf format string from a proxy for a type.
Instances
asTaggedTypeOf :: s -> tagged s b -> s #
asTaggedTypeOf 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 tag of the second.
type (--*) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
Alias for It, note that the number of ~s is alway a multiple of 3. This
provides the impression of an underlined title followed by other expectations.
It allows to write the following type:
type ExpectationWithTitle =
TypeSpec (
"This is a title for some assertions:"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(2 + 2) `Is` 4
)type (~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) (title :: Symbol) (expr :: expectation) = It title expr infixr 3 #
type (###) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
Create a TypeSpec with an initial description or title followed by some
expectations. Note that the number of #s is alway a multiple of 3.
It allows to rewrite the example above in a shorter way:
type ExpectationWithTitleShorter = "This is a title for some assertions:" ###################################### (2 + 2) `Is` 4
type (#########) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (############) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (###############) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (##################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (#####################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (########################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (###########################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (##############################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (#################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (####################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (#######################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (##########################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (#############################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (###################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (######################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (#########################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (############################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (###############################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (##################################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (#####################################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (########################################################################) (title :: Symbol) (expr :: expectation) = Explain title expr infixr 1 #
type (-*-) (expectation1 :: k) (expectation2 :: k1) = expectation1 -/- expectation2 infixr 3 #
Crazy operator alias for -/- with higher precedence.
It allows to group expectations more beautiful than using type level lists.
specCrazyMoreNested ::
"Title"
######
"Top-level "
~~~~~~~~~~~~
"Nested:"
~~~~~~~~~
Int `Is` Int
-*-
Int `Is` Int
-*-
Int `Is` Int
-/-
"Top-level "
~~~~~~~~~~~~
"Nested:"
~~~~~~~~~
Int `Is` Int
-*-
"Nested:"
~~~~~~~~~
Int `Is` Int
-*-
Int `Is` Int
specCrazyMoreNested = Validtype IsTheSameAs = (ShouldBe :: actual -> expected -> Type) #
type TheseAreEqual = (ShouldBe :: actual -> expected -> Type) #
type IsNot = (ShouldNotBe :: actual -> expected -> Type) #
type Isn't = (ShouldNotBe :: actual -> expected -> Type) #
type IsNotTheSameAs = (ShouldNotBe :: actual -> expected -> Type) #
type IsDifferentFrom = (ShouldNotBe :: actual -> expected -> Type) #
type TheseAreNotEqual = (ShouldNotBe :: actual -> expected -> Type) #
type IsTrue = (ShouldBeTrue :: expectation -> Type) #
type And = (ShouldBeTrue :: expectation -> Type) #
type Therefore = (ShouldBeTrue :: expectation -> Type) #
type That = (ShouldBeTrue :: expectation -> Type) #
type IsFalse = (ShouldBeFalse :: expectation -> Type) #
data ShouldBeTrue (a :: expectation) :: forall expectation. expectation -> Type #
State that a type is equal to the type level True.
Instances
| PrettyTypeSpec (ShouldBeTrue a :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldBeTrue a) -> Doc # | |
| type EvalExpectation (ShouldBeTrue t2 :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ShouldBeTrue t2 :: Type) = If (EqExtra t2 True) (OK (ShouldBeTrue t2)) (FAILED (Text "Should have been 'True: " :<>: ShowType t2)) | |
data ShouldBeFalse (a :: expectation) :: forall expectation. expectation -> Type #
State that a type is equal to the type level False.
Instances
| PrettyTypeSpec (ShouldBeFalse a :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldBeFalse a) -> Doc # | |
| type EvalExpectation (ShouldBeFalse t2 :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ShouldBeFalse t2 :: Type) = If (EqExtra t2 False) (OK (ShouldBeFalse t2)) (FAILED (Text "Should have been 'False: " :<>: ShowType t2)) | |
data ButNot (a :: shouldBe) (b :: shouldntBe) :: forall shouldBe shouldntBe. shouldBe -> shouldntBe -> Type #
State that one type is different to two other types. This must always be
used right next to a ShouldBe pair, otherwise this will not work.
Instances
| a ~ ShouldBe a0 a1 => PrettyTypeSpec (ButNot a b :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ButNot a b) -> Doc # | |
| type EvalExpectation (ButNot (ShouldBe actual expected) other :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ButNot (ShouldBe actual expected) other :: Type) = If (EqExtra actual expected) (If (EqExtra other expected) (FAILED (((Text "Expected type: " :$$: (Text " " :<>: ShowType expected)) :$$: Text "to be different from: ") :$$: (Text " " :<>: ShowType other))) (OK (ButNot (ShouldBe actual expected) other))) (FAILED ((Text "Expected type: " :<>: ShowType expected) :$$: (Text "Actual type: " :<>: ShowType actual))) | |
data ShouldBe (a :: actual) (b :: expected) :: forall actual expected. actual -> expected -> Type #
State that two types or type constructs are boiled down to the same type.
Instances
| PrettyTypeSpec (ShouldBe a b :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldBe a b) -> Doc # | |
| type EvalExpectation (ButNot (ShouldBe actual expected) other :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ButNot (ShouldBe actual expected) other :: Type) = If (EqExtra actual expected) (If (EqExtra other expected) (FAILED (((Text "Expected type: " :$$: (Text " " :<>: ShowType expected)) :$$: Text "to be different from: ") :$$: (Text " " :<>: ShowType other))) (OK (ButNot (ShouldBe actual expected) other))) (FAILED ((Text "Expected type: " :<>: ShowType expected) :$$: (Text "Actual type: " :<>: ShowType actual))) | |
| type EvalExpectation (ShouldBe actual expected :: Type) | |
data ShouldNotBe (a :: actual) (b :: expected) :: forall actual expected. actual -> expected -> Type #
State that two types or type constructs are NOT the same type.
Instances
| PrettyTypeSpec (ShouldNotBe a b :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldNotBe a b) -> Doc # | |
| type EvalExpectation (ShouldNotBe actual2 expected2 :: Type) | |
Defined in Test.TypeSpec.ShouldBe | |
data It (a :: Symbol) (b :: expectation) :: forall expectation. Symbol -> expectation -> Type #
Add a type level string as label or longer descripton around expectations.
This is analog to the it function in the hspec package.
Instances
| (KnownSymbol msg, PrettyTypeSpec x) => PrettyTypeSpec (It msg x :: Type) | |
Defined in Test.TypeSpec.Label Methods prettyTypeSpec :: proxy (It msg x) -> Doc # | |
| type EvalExpectation (It message expectation2 :: Type) | |
Defined in Test.TypeSpec.Label type EvalExpectation (It message expectation2 :: Type) = PrependToError (Text message :$$: Text " ") (EvalExpectation expectation2) >> OK (It message expectation2) | |
data (expectation1 :: k) -/- (expectation2 :: k1) :: forall k k1. k -> k1 -> Type infixr 1 #
Combine two expectations.
Make a collection of expectations:
(2 + 2) `Is` 4
-/-
(4 + 4) `Is` 8
-/-
'True `IsNot` 'FalseInstances
| (PrettyTypeSpec expectation1, PrettyTypeSpec expectation2) => PrettyTypeSpec (expectation1 -/- expectation2 :: Type) | Pretty Printing Instance. |
Defined in Test.TypeSpec.Group Methods prettyTypeSpec :: proxy (expectation1 -/- expectation2) -> Doc # | |
| type EvalExpectation (expectation -/- expectations :: Type) | |
Defined in Test.TypeSpec.Group type EvalExpectation (expectation -/- expectations :: Type) = (TyCon2 ((-/-) :: a2 -> a1 -> Type) <$> EvalExpectation expectation) <*> EvalExpectation expectations | |
data TypeSpec (expectation :: k) :: forall k. k -> Type where #
A type specification.
Constructors
| Valid :: forall k (expectation :: k). Try (EvalExpectation expectation) ~ expectation => TypeSpec expectation | Expect the given expectations to hold. If the compiler does not reject it - the expectation seem plausible. |
| Invalid :: forall k (expectation :: k). DontTry (EvalExpectation expectation) => TypeSpec expectation | Expect the given expectations to **NOT** hold. If the compiler does not reject it - the expectation seem indeed implausible. |
type family EvalExpectation (expectation :: k) :: Result k #
An open family of type level expectation evaluators, that return either ()
or an ErrorMessage.
Instances
| type EvalExpectation (ShouldBeTrue t2 :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ShouldBeTrue t2 :: Type) = If (EqExtra t2 True) (OK (ShouldBeTrue t2)) (FAILED (Text "Should have been 'True: " :<>: ShowType t2)) | |
| type EvalExpectation (ShouldBeFalse t2 :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ShouldBeFalse t2 :: Type) = If (EqExtra t2 False) (OK (ShouldBeFalse t2)) (FAILED (Text "Should have been 'False: " :<>: ShowType t2)) | |
| type EvalExpectation (It message expectation2 :: Type) | |
Defined in Test.TypeSpec.Label type EvalExpectation (It message expectation2 :: Type) = PrependToError (Text message :$$: Text " ") (EvalExpectation expectation2) >> OK (It message expectation2) | |
| type EvalExpectation (ButNot (ShouldBe actual expected) other :: Type) | |
Defined in Test.TypeSpec.ShouldBe type EvalExpectation (ButNot (ShouldBe actual expected) other :: Type) = If (EqExtra actual expected) (If (EqExtra other expected) (FAILED (((Text "Expected type: " :$$: (Text " " :<>: ShowType expected)) :$$: Text "to be different from: ") :$$: (Text " " :<>: ShowType other))) (OK (ButNot (ShouldBe actual expected) other))) (FAILED ((Text "Expected type: " :<>: ShowType expected) :$$: (Text "Actual type: " :<>: ShowType actual))) | |
| type EvalExpectation (ShouldBe actual expected :: Type) | |
| type EvalExpectation (ShouldNotBe actual2 expected2 :: Type) | |
Defined in Test.TypeSpec.ShouldBe | |
| type EvalExpectation ([] :: [k]) | Given a list |
Defined in Test.TypeSpec.Core | |
| type EvalExpectation (expectation ': rest :: [a]) | |
Defined in Test.TypeSpec.Core type EvalExpectation (expectation ': rest :: [a]) = ((Cons'' :: TyFun a ([a] ~> [a]) -> Type) <$> EvalExpectation expectation) <*> EvalExpectation rest | |
| type EvalExpectation (expectation -/- expectations :: Type) | |
Defined in Test.TypeSpec.Group type EvalExpectation (expectation -/- expectations :: Type) = (TyCon2 ((-/-) :: a2 -> a1 -> Type) <$> EvalExpectation expectation) <*> EvalExpectation expectations | |
| type EvalExpectation ((,) a3 b :: (a2, a1)) | Given a pair |
Defined in Test.TypeSpec.Core type EvalExpectation ((,) a3 b :: (a2, a1)) = ((Pair'' :: TyFun a2 (a1 ~> (a2, a1)) -> Type) <$> EvalExpectation a3) <*> EvalExpectation b | |
class PrettyTypeSpec (t :: k) where #
Methods
prettyTypeSpec :: proxy t -> Doc #
Instances
| PrettyTypeSpec (ShouldBeTrue a :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldBeTrue a) -> Doc # | |
| PrettyTypeSpec (ShouldBeFalse a :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldBeFalse a) -> Doc # | |
| (KnownSymbol msg, PrettyTypeSpec x) => PrettyTypeSpec (It msg x :: Type) | |
Defined in Test.TypeSpec.Label Methods prettyTypeSpec :: proxy (It msg x) -> Doc # | |
| a ~ ShouldBe a0 a1 => PrettyTypeSpec (ButNot a b :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ButNot a b) -> Doc # | |
| PrettyTypeSpec (ShouldBe a b :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldBe a b) -> Doc # | |
| PrettyTypeSpec (ShouldNotBe a b :: Type) | |
Defined in Test.TypeSpec.ShouldBe Methods prettyTypeSpec :: proxy (ShouldNotBe a b) -> Doc # | |
| PrettyTypeSpec ([] :: [k]) | |
Defined in Test.TypeSpec.Core Methods prettyTypeSpec :: proxy [] -> Doc # | |
| (PrettyTypeSpec expectation, PrettyTypeSpec rest) => PrettyTypeSpec (expectation ': rest :: [a]) | |
Defined in Test.TypeSpec.Core Methods prettyTypeSpec :: proxy (expectation ': rest) -> Doc # | |
| (PrettyTypeSpec expectation1, PrettyTypeSpec expectation2) => PrettyTypeSpec (expectation1 -/- expectation2 :: Type) | Pretty Printing Instance. |
Defined in Test.TypeSpec.Group Methods prettyTypeSpec :: proxy (expectation1 -/- expectation2) -> Doc # | |
| (PrettyTypeSpec expectation1, PrettyTypeSpec expectation2) => PrettyTypeSpec ((,) expectation1 expectation2 :: (k2, k1)) | |
Defined in Test.TypeSpec.Core Methods prettyTypeSpec :: proxy (expectation1, expectation2) -> Doc # | |
type Result = Either ErrorMessage #
When a type level expectation is tested, it might be that compound
expectations fail. In order to have a small, precise error message, the type
level assertion results are made to have kind Result.
type family Try (e :: Result k) :: k where ... #
Return the result or fail with a TypeError
Equations
| Try (OK d :: Either ErrorMessage k) = d | |
| Try (FAILED m :: Either ErrorMessage k) = (TypeError m :: k) |
type family DontTry (e :: Result r) :: Constraint where ... #
type family PrependToError (message :: ErrorMessage) (result :: Result a) :: Result a where ... #
In case of prepend a message to the message, if the
parameter was Left ErrorMessage just return Right x.Right x
Equations
| PrependToError message (OK x :: Either ErrorMessage b) = OK x | |
| PrependToError message (FAILED otherMessage :: Either ErrorMessage a) = FAILED (message :<>: otherMessage) |
type family IsSequence (bs :: [k]) (rs :: [j]) :: Bool where ... Source #
Equations
| IsSequence '[] '[] = True | |
| IsSequence (b ': bs) '[] = False | |
| IsSequence '[] (OnceOptionalX r ': rs) = IsSequence '[] rs | |
| IsSequence (b ': bs) (OnceOptionalX r ': rs) = If (IsRuleConform b r) (IsSequence bs rs) (IsSequence (b ': bs) rs) | |
| IsSequence '[] (SomeOptionalX r ': rs) = IsSequence '[] rs | |
| IsSequence (b ': bs) (SomeOptionalX r ': rs) = If (IsRuleConform b r) (IsSequence bs (SomeOptionalX r ': rs)) (IsSequence (b ': bs) rs) | |
| IsSequence '[] (SomeMandatoryX r ': rs) = False | |
| IsSequence (b ': bs) (SomeMandatoryX r ': rs) = IsRuleConform b r && IsSequence bs (SomeOptionalX r ': rs) | |
| IsSequence '[] (r ': rs) = False | |
| IsSequence (b ': bs) (r ': rs) = IsRuleConform b r && IsSequence bs rs |
data SomeMandatoryX t Source #
data SomeOptionalX t Source #
data OnceOptionalX t Source #
data MatchSymbol :: Symbol -> Type Source #
Instances
| type IsRuleConform (b :: Type) (MatchSymbol fourcc :: Type) Source # | |
data OneOf :: [Type] -> Type Source #
Instances
| type IsRuleConform (t :: k) (OneOf (r ': rs) :: Type) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Util.TypeLayout type IsRuleConform (t :: k) (OneOf (r ': rs) :: Type) = IsRuleConform t r || IsRuleConform t (OneOf rs) | |
| type IsRuleConform (t :: k) (OneOf ([] :: [Type])) Source # | |
data TopLevel :: Type -> Type Source #
Instances
| type IsRuleConform (t :: k) (TopLevel rule :: Type) Source # | |
type family IsRuleConform (b :: k) (r :: l) :: Bool Source #
Instances
data Fun4 :: (a -> b -> c -> d -> Extends e) -> Extends (a -> Extends (b -> Extends (c -> Extends (d -> Extends e)))) Source #
data Fun3 :: (a -> b -> c -> Extends d) -> Extends (a -> Extends (b -> Extends (c -> Extends d))) Source #
type family FoldMap (append :: Extends (b -> Extends (b -> b))) (zero :: b) (f :: Extends (a -> b)) (xs :: [(a :: Type)]) :: (b :: Type) where ... Source #
Map over the elements of a list and fold the result.
data Optional :: Extends t -> Extends (s -> Extends t) -> Extends (Maybe s -> Extends t) Source #
Either use the value from Just or return a fallback value(types(kinds))
data (:>>=:) :: Extends a -> Extends (a -> Extends b) -> Extends b infixl 1 Source #
From and ApplyCompose functions
data (:>>>^:) :: Extends (good -> better) -> Extends (better -> best) -> Extends (good -> Extends best) infixl 1 Source #
Compose and Konst
data (:^>>>:) :: Extends (good -> better) -> Extends (better -> best) -> Extends (Extends good -> best) infixl 1 Source #
From Input & Compose
data (:>>>:) :: Extends (good -> better) -> Extends (better -> best) -> Extends (good -> best) infixl 1 Source #
Compose functions
type family Apply (f :: Extends (a -> b)) (x :: a) :: b Source #
An open family of functions from a to b
Instances
data Labelled (s :: Symbol) :: Extends a -> Extends a Source #
Assign a symbol to any type in a group.
Instances
| HasFunctionBuilder BitBuilder (Proxy nested) => HasFunctionBuilder BitBuilder (Proxy (Labelled l nested)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (Labelled l nested)) r :: Type # Methods toFunctionBuilder :: Proxy (Labelled l nested) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (Labelled l nested)) r) # | |
| DynamicContent BitBuilder (Proxy nested) rt => DynamicContent BitBuilder (Proxy (Labelled l nested)) rt Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (Labelled l nested) -> FunctionBuilder BitBuilder next (rt -> next) # | |
| type ToFunction BitBuilder (Proxy (Labelled l nested)) a Source # | |
| type From (Labelled s t :: a -> Type) Source # | |
Defined in Data.Kind.Extra | |
| type SizeInBytes (Labelled l f :: a -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
data Anonymous (x :: Extends (Named s)) :: Extends s Source #
Remove tha name of a NamedStructure to get to a Structure
Instances
| type PrettyStructure (Anonymous (Name name struct) :: Structure sizeType -> Type) Source # | |
Defined in Data.Type.BitRecords.Structure type PrettyStructure (Anonymous (Name name struct) :: Structure sizeType -> Type) = name <:> PrettyStructure struct | |
| type GetStructureSize (Anonymous (Name name struct)) Source # | |
Defined in Data.Type.BitRecords.Structure | |
data Name :: Symbol -> Extends s -> Extends (Named s) Source #
Assign a name to something that has no name
Instances
| type PrettyStructure (Anonymous (Name name struct) :: Structure sizeType -> Type) Source # | |
Defined in Data.Type.BitRecords.Structure type PrettyStructure (Anonymous (Name name struct) :: Structure sizeType -> Type) = name <:> PrettyStructure struct | |
| type GetStructureSize (Anonymous (Name name struct)) Source # | |
Defined in Data.Type.BitRecords.Structure | |
Phantom type for things that have a name
Instances
| type GetStructureSize (Record (x ': xs)) Source # | |
Defined in Data.Type.BitRecords.Structure type GetStructureSize (Record (x ': xs)) = GetStructureSize (Anonymous x) + GetStructureSize (Record xs) | |
| type GetStructureSize (Record ([] :: [Extends (Named (Structure FixSize))])) Source # | |
Defined in Data.Type.BitRecords.Structure | |
type family From (t :: a -> Type) :: a Source #
An open type family to turn symbolic type representations created with
A or Extends into the actual types.
Instances
type family ShiftR (xMaxBits :: Nat) (x :: Nat) (bits :: Nat) :: Nat where ... Source #
Shift a type level natural to the right. This useful for division by powers of two.
Equations
| ShiftR xMaxBits x n = FromBits (ShiftBitsR (ToBits x (1 + GetMostSignificantBitIndex xMaxBits x)) n) |
type family GetMostSignificantBitIndex (highestBit :: Nat) (n :: Nat) :: Nat where ... Source #
Equations
| GetMostSignificantBitIndex 0 n = 1 | |
| GetMostSignificantBitIndex highestBit n = If ((2 ^ (highestBit + 1)) <=? n) (TypeError (((Text "number to big: " :<>: ShowType n) :<>: Text " >= ") :<>: ShowType (2 ^ (highestBit + 1)))) (If ((2 ^ highestBit) <=? n) highestBit (GetMostSignificantBitIndex (highestBit - 1) n)) |
type family ShiftBitsR (bits :: [Bool]) (n :: Nat) :: [Bool] where ... Source #
Equations
| ShiftBitsR bits 0 = bits | |
| ShiftBitsR '[] n = '[] | |
| ShiftBitsR '[e] 1 = '[] | |
| ShiftBitsR (e ': rest) 1 = e ': ShiftBitsR rest 1 | |
| ShiftBitsR (e ': rest) n = ShiftBitsR (ShiftBitsR (e ': rest) 1) (n - 1) |
type family ToBitsInner (highBitSet :: Bool) (x :: Nat) (n :: Nat) (started :: Bool) :: [Bool] where ... Source #
type family ToBits_ (x :: Nat) (n :: Nat) (started :: Bool) :: [Bool] where ... Source #
Equations
| ToBits_ x 0 started = '[] | |
| ToBits_ x n started = ToBitsInner (TestHighBit x (n - 1)) x (n - 1) started |
type family TestHighBit (x :: Nat) (n :: Nat) :: Bool where ... Source #
Equations
| TestHighBit x n = (2 ^ n) <=? x |
type ModPow2Bits = 32 Source #
Maximum number of bits an argument x of ModPow2 may occupy.
type family TakeLastNImplTakeNRev (n :: Nat) (rs :: [t]) (acc :: [t]) :: [t] where ... Source #
Equations
| TakeLastNImplTakeNRev n '[] acc = acc | |
| TakeLastNImplTakeNRev 0 rs acc = acc | |
| TakeLastNImplTakeNRev n (r ': rs) acc = TakeLastNImplTakeNRev (n - 1) rs (r ': acc) |
type family TakeLastNImplRev (n :: Nat) (xs :: [t]) (acc :: [t]) :: [t] where ... Source #
Equations
| TakeLastNImplRev n '[] acc = TakeLastNImplTakeNRev n acc '[] | |
| TakeLastNImplRev n (x ': xs) acc = TakeLastNImplRev n xs (x ': acc) |
type TakeLastN n xs = TakeLastNImplRev n xs '[] Source #
type ModPow2 value power = FromBits (TakeLastN power (ToBits value ModPow2Bits)) Source #
Efficient Mod operation for power of 2 values. Note that x must be
representable by ModPow2Bits bits.
type family CountElementsForLengthIn (xs :: k) :: Nat Source #
Instances
| type CountElementsForLengthIn ([] :: [k]) Source # | |
Defined in Data.Type.BitRecords.Assert type CountElementsForLengthIn ([] :: [k]) = 0 | |
| type CountElementsForLengthIn (x ': xs :: [a]) Source # | |
Defined in Data.Type.BitRecords.Assert | |
data LengthIn :: Nat -> Nat -> Assertion a Source #
Assert that a list's length falls into a given range.
This is generalized from actual lists; everything with a CountElementsForLengthIn
instance can be asserted.
Instances
| type Check (LengthIn from to :: TyFun k (Maybe ErrorMessage) -> Type) (xs :: k) Source # | |
Defined in Data.Type.BitRecords.Assert type Check (LengthIn from to :: TyFun k (Maybe ErrorMessage) -> Type) (xs :: k) = Check (NatIn from to) (CountElementsForLengthIn xs) | |
data (@&&) :: Assertion a -> Assertion a -> Assertion a Source #
Assert that two assertions both hold
Instances
| type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) Source # | |
Defined in Data.Type.BitRecords.Assert type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) | |
type family Check (f :: Assertion a) (x :: a) :: Maybe ErrorMessage Source #
Apply Assertions to the actual values.
Instances
| type Check (NatLE n :: TyFun Nat (Maybe ErrorMessage) -> Type) (x :: Nat) Source # | |
| type Check (NatGE n :: TyFun Nat (Maybe ErrorMessage) -> Type) (x :: Nat) Source # | |
| type Check (NatIn from to :: TyFun Nat (Maybe ErrorMessage) -> Type) (n :: Nat) Source # | |
Defined in Data.Type.BitRecords.Assert | |
| type Check (LengthIn from to :: TyFun k (Maybe ErrorMessage) -> Type) (xs :: k) Source # | |
Defined in Data.Type.BitRecords.Assert type Check (LengthIn from to :: TyFun k (Maybe ErrorMessage) -> Type) (xs :: k) = Check (NatIn from to) (CountElementsForLengthIn xs) | |
| type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) Source # | |
Defined in Data.Type.BitRecords.Assert type Check (a1 @&& a2 :: TyFun (Maybe ErrorMessage) (Maybe ErrorMessage) -> Type) (x :: Maybe ErrorMessage) | |
type family Assert (cond :: Assertion a) (x :: a) :: a where ... Source #
type family KnownChunkSize (s :: Nat) :: Constraint where ... Source #
Equations
| KnownChunkSize size = (KnownNat size, size <= BitBuffer64MaxLength) |
data BitBuffer64 Source #
A buffer for 64 bits, such that the bits are written MSB to LSB.
type TwoFields = "f0" @: Field m .+. "f1" @: Field n
Writes:
MSB LSB
Bit: |k .. k-(m+1)|k-m .. k-(m+n+1)|k-(m+n) .. 0|
Value: |------f0------|--------f1--------|XXXXXXXXXXXXXX|
Where k is the current bit offset.
The input values are expected to be in the order of the fields, i.e.:
toFunction $ bitBuffer64Builder (Proxy :: Proxy TwoFields) 1 2
Will result in:
MSB LSB
Bit: |k .. k-(m+1)|k-m .. k-(m+n+1)| k-(m+n) .. 0|
Value: |0 .. 1|0 .. 10| X .. X|
The string of bits with a given length (but always <= .
The number of bits must be smaller that bitBuffer64MaxLengthbitBuffer64MaxLength.
Instances
| HasFunctionBuilder BitBuilder BitBuffer64 Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder BitBuffer64 r :: Type # Methods toFunctionBuilder :: BitBuffer64 -> FunctionBuilder BitBuilder r (ToFunction BitBuilder BitBuffer64 r) # | |
| HasFunctionBuilder BitBuilder BitBuffer64 Source # | |
Defined in Data.Type.BitRecords.Writer.ByteStringBuilder Associated Types type ToFunction BitBuilder BitBuffer64 r :: Type # Methods toFunctionBuilder :: BitBuffer64 -> FunctionBuilder BitBuilder r (ToFunction BitBuilder BitBuffer64 r) # | |
| type ToFunction BitBuilder BitBuffer64 r Source # | |
| type ToFunction BitBuilder BitBuffer64 r Source # | |
type BitBuffer64MaxLength = 64 Source #
The maximum number of bits a BitBuffer can hold.
bitBuffer64MaxLength :: Int Source #
The maximum number of bits a BitBuffer can hold.
bitBuffer64MaxLengthBytes :: Word64 Source #
The maximum number of bytes a BitBuffer can hold.
bitBuffer64Length :: BitBuffer64 -> Int Source #
isBitBuffer64Empty :: BitBuffer64 -> Bool Source #
bitBuffer64 :: Int -> Word64 -> BitBuffer64 Source #
Create a BitBuffer64 containing len bits from LSB to MSB, properly
masked, such that only len least significant bits are kept..
emptyBitBuffer64 :: BitBuffer64 Source #
Create an empty BitBuffer64.
bitBuffer64ProxyLength :: KnownChunkSize n => Proxy n -> Word64 -> BitBuffer64 Source #
Create a BitBuffer64 with a length given by a Proxy to a type level
Nat.
Arguments
| :: BitBuffer64 | The value to write (in the lower |
| -> BitBuffer64 | The input to write to (starting from length) |
| -> (BitBuffer64, BitBuffer64) | The remaining bits that did not fit in the buffer and the output buffer. |
Copy bits starting at a specific offset from one a the the other.
Set bits starting from the most significant bit to the least.
For example writeBits m 1 <> writeBits n 2 would result in:
MSB LSB
Bit: |k .. k-(m+1)|k-m .. k-(m+n+1)| k-(m+n) .. 0|
Value: |0 .. 1|0 .. 10| ... |
-> -> -> (direction of writing)
type family PrintHexIfPossible t (s :: Nat) :: PrettyType where ... Source #
Equations
| PrintHexIfPossible Word64 s = PutHex64 s | |
| PrintHexIfPossible Word32 s = PutHex32 s | |
| PrintHexIfPossible Word16 s = PutHex16 s | |
| PrintHexIfPossible Word8 s = PutHex8 s | |
| PrintHexIfPossible x s = TypeError (Text "Invalid size field type: " :<>: ShowType x) |
type family PrettyCustomFieldValue (rt :: Type) (st :: Type) (size :: Nat) (v :: st) :: PrettyType Source #
Instances
| type PrettyCustomFieldValue ASizedString ASizedString s (sr :: ASizedString) Source # | |
Defined in Data.Type.BitRecords.SizedString | |
| type PrettyCustomFieldValue (EnumValue e) e size (v :: e) Source # | |
type family PrettyFieldValue (t :: BitField (rt :: Type) (st :: Type) (size :: Nat)) (v :: st) :: PrettyType where ... Source #
Equations
type family PrettyFieldType (t :: BitField (rt :: Type) (st :: Type) (size :: Nat)) :: PrettyType where ... Source #
Equations
| PrettyFieldType MkFieldFlag = PutStr "boolean" | |
| PrettyFieldType (MkFieldBits :: BitField (B (s :: Nat)) Nat s) = PutStr "bits" <++> PrettyParens (PutNat s) | |
| PrettyFieldType (MkFieldBitsXXL :: BitField Integer Nat (s :: Nat)) = PutStr "bits-XXL" <++> PrettyParens (PutNat s) | |
| PrettyFieldType MkFieldU64 = PutStr "U64" | |
| PrettyFieldType MkFieldU32 = PutStr "U32" | |
| PrettyFieldType MkFieldU16 = PutStr "U16" | |
| PrettyFieldType MkFieldU8 = PutStr "U8" | |
| PrettyFieldType MkFieldI64 = PutStr "I64" | |
| PrettyFieldType MkFieldI32 = PutStr "I32" | |
| PrettyFieldType MkFieldI16 = PutStr "I16" | |
| PrettyFieldType MkFieldI8 = PutStr "I8" | |
| PrettyFieldType (MkFieldCustom :: BitField rt ct size) = ToPretty rt <++> PrettyParens (PutNat size) |
type family PrettyField (f :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: Type) (size :: Nat)))) :: PrettyType where ... Source #
Equations
| PrettyField (MkField t) = PrettyFieldType t | |
| PrettyField ((f :: Extends (BitRecordField t)) := v) = (PrettyField f <+> PutStr ":=") <+> PrettyFieldValue t v | |
| PrettyField (LabelF l f) = l <:> PrettyField f |
type family PrettyRecordField (f :: Extends (BitField (rt :: Type) (st :: Type) (size :: Nat))) :: PrettyType where ... Source #
Equations
| PrettyRecordField (Konst t) = PrettyFieldType t | |
| PrettyRecordField (f :=. v) = (PrettyRecordField f <+> PutStr ":=") <+> PrettyFieldValue (From f) v | |
| PrettyRecordField (Labelled l f) = l <:> PrettyRecordField f |
type family PrettyRecord (rec :: BitRecord) :: PrettyType where ... Source #
Equations
| PrettyRecord (BitRecordMember m) = PrettyField m | |
| PrettyRecord (RecordField m) = PrettyRecordField m | |
| PrettyRecord EmptyBitRecord = PrettyNewline | |
| PrettyRecord (BitRecordAppend l r) = PrettyRecord l <$$> PrettyRecord r |
type family FieldWidth (x :: Extends (BitRecordField t)) where ... Source #
Calculate the size as a number of bits from a BitRecordField
Equations
| FieldWidth (x :: Extends (BitRecordField (t :: BitField rt st size))) = size |
data RecordField :: Extends (BitRecordField t) -> Extends BitRecord Source #
A BitRecordField can be used as BitRecordMember
Instances
| type From (RecordField f :: BitRecord -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
data MaybeField :: Maybe (Extends (BitRecordField t)) -> Extends BitRecord Source #
An optional field in a bit record
Instances
| type From (MaybeField (Nothing :: Maybe (Extends (BitRecordField t))) :: BitRecord -> Type) Source # | |
Defined in Data.Type.BitRecords.Core type From (MaybeField (Nothing :: Maybe (Extends (BitRecordField t))) :: BitRecord -> Type) = EmptyBitRecord | |
| type From (MaybeField (Just fld) :: BitRecord -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
type family FlagNothing (a :: Maybe (v :: Type)) :: Extends (BitRecordField MkFieldFlag) where ... Source #
A Flag (1-bit) that is true if the type level maybe is Nothing.
Equations
| FlagNothing (Just x) = Flag := False | |
| FlagNothing Nothing = Flag := True |
type family FlagJust (a :: Maybe (v :: Type)) :: Extends (BitRecordField MkFieldFlag) where ... Source #
A Flag (1-bit) that is true if the type level maybe is Just.
A signed field value.
Constructors
| PositiveNat :: Nat -> SignedNat | |
| NegativeNat :: Nat -> SignedNat |
Instances
newtype B (size :: Nat) Source #
A data type for Field and MkFieldBits, that is internally a Word64.
It carries the number of relevant bits in its type.
Instances
type FieldI64 = MkField MkFieldI64 Source #
type FieldI32 = MkField MkFieldI32 Source #
type FieldI16 = MkField MkFieldI16 Source #
type FieldU64 = MkField MkFieldU64 Source #
type FieldU32 = Konst MkFieldU32 Source #
type FieldU16 = MkField MkFieldU16 Source #
type Flag = MkField MkFieldFlag Source #
type family BitFieldSize (b :: BitField rt st size) :: Nat where ... Source #
Equations
| BitFieldSize (b :: BitField rt st size) = size |
data BitField (runtimeRep :: Type) (staticRep :: k) (bitCount :: Nat) where Source #
Types of this kind define the basic type of a BitRecordField. Sure, this
could have been an open type, but really, how many actual useful field types
exist? Well, from a global perspective, uncountable infinite, but the focus
of this library is to blast out bits over the network, using usual Haskell
libraries, and hence, there is actually only very little reason to
differentiate types of record fields, other than what low-level library
function to apply and how to pretty print the field.
Constructors
| MkFieldFlag :: BitField Bool Bool 1 | |
| MkFieldBits :: forall (n :: Nat). BitField (B n) Nat n | |
| MkFieldBitsXXL :: forall (n :: Nat). BitField Integer Nat n | |
| MkFieldU8 :: BitField Word8 Nat 8 | |
| MkFieldU16 :: BitField Word16 Nat 16 | |
| MkFieldU32 :: BitField Word32 Nat 32 | |
| MkFieldU64 :: BitField Word64 Nat 64 | |
| MkFieldI8 :: BitField Int8 SignedNat 8 | |
| MkFieldI16 :: BitField Int16 SignedNat 16 | |
| MkFieldI32 :: BitField Int32 SignedNat 32 | |
| MkFieldI64 :: BitField Int64 SignedNat 64 | |
| MkFieldCustom :: BitField rt st n |
Instances
data (:=.) :: Extends (BitField rt st size) -> st -> Extends (BitField rt st size) infixl 7 Source #
A field with a value set at compile time.
Instances
data (:=) :: forall st (t :: BitField rt st size). Extends (BitRecordField t) -> st -> Extends (BitRecordField t) infixl 7 Source #
A field with a value set at compile time.
Instances
type (@::) (l :: Symbol) (f :: Extends a) = Labelled l f infixr 8 Source #
A field with a label assigned to it.
type (@:) (l :: Symbol) (f :: Extends (BitRecordField (t :: BitField rt (st :: stk) size))) = (LabelF l f :: Extends (BitRecordField t)) infixr 8 Source #
A field with a label assigned to it.
data LabelF :: Symbol -> Extends (BitRecordField t) -> Extends (BitRecordField t) Source #
A bit record field with a number of bits
Instances
| HasFunctionBuilder BitBuilder (Proxy nested) => HasFunctionBuilder BitBuilder (Proxy (LabelF l nested)) Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Associated Types type ToFunction BitBuilder (Proxy (LabelF l nested)) r :: Type # Methods toFunctionBuilder :: Proxy (LabelF l nested) -> FunctionBuilder BitBuilder r (ToFunction BitBuilder (Proxy (LabelF l nested)) r) # | |
| DynamicContent BitBuilder (Proxy nested) b => DynamicContent BitBuilder (Proxy (LabelF l nested)) b Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods addParameter :: Proxy (LabelF l nested) -> FunctionBuilder BitBuilder next (b -> next) # | |
| type ToFunction BitBuilder (Proxy (LabelF l nested)) a Source # | |
| type SizeInBytes (LabelF l f :: BitRecordField t -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
data MkField t :: BitRecordField t -> Type Source #
A bit record field with a number of bits
Instances
data BitRecordField :: BitField rt st len -> Type Source #
A family of bit fields.
A bit field always has a size, i.e. the number of bits it uses, as well as a term level value type and a type level value type. It also has an optional label, and an optional value assigned to it.
Instances
data OptionalRecord :: Maybe BitRecord -> Extends BitRecord Source #
Either use the value from Just or return a EmptyBitRecord value(types(kinds))
Instances
| type From (OptionalRecord (Nothing :: Maybe BitRecord)) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type From (OptionalRecord (Just t) :: BitRecord -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
data BitRecordOfList (f :: Extends (foo -> BitRecord)) (xs :: [foo]) :: Extends BitRecord Source #
Let type level lists also be records
Instances
| type From (BitRecordOfList f xs :: BitRecord -> Type) Source # | |
Defined in Data.Type.BitRecords.Core type From (BitRecordOfList f xs :: BitRecord -> Type) = FoldMap BitRecordAppendFun EmptyBitRecord f xs | |
type family RecArrayToBitRecord (r :: BitRecord) (n :: Nat) :: BitRecord where ... Source #
Repeat a bit record n times.
Equations
| RecArrayToBitRecord r 0 = EmptyBitRecord | |
| RecArrayToBitRecord r 1 = r | |
| RecArrayToBitRecord r n = Append r (RecArrayToBitRecord r (n - 1)) |
data RecArray :: BitRecord -> Nat -> Extends BitRecord Source #
An array of records with a fixed number of elements, NOTE: this type is
actually not really necessary since ReplicateRecord exists, but this allows
to have a different showRecord output.
data RuntimeFieldValue (label :: Symbol) :: Extends (FieldValue label staticRep) Source #
data StaticFieldValue (label :: Symbol) :: staticRep -> Extends (FieldValue label staticRep) Source #
data FieldValue :: Symbol -> staticRep -> Type Source #
The field value parameter for :~, either a static, compile time, value or
a dynamic, runtime value.
type family (fld :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: k) (len :: Nat)))) :+? (value :: Maybe (Extends (FieldValue (label :: Symbol) st))) :: BitRecord where ... infixl 7 Source #
Like :~ but for a Maybe parameter. In case of Just it behaves like :~
in case of Nothing it return an EmptyBitRecord.
Equations
| fld :+? (Just v) = BitRecordMember (fld :~ v) | |
| fld :+? Nothing = EmptyBitRecord |
type family (fld :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: k) (len :: Nat)))) :~? (value :: Maybe (Extends (FieldValue (label :: Symbol) st))) :: Extends BitRecord where ... infixl 7 Source #
Like :~ but for a Maybe parameter. In case of Just it behaves like :~
in case of Nothing it return an EmptyBitRecord.
Equations
| fld :~? (Just v) = RecordField (fld :~ v) | |
| fld :~? Nothing = Konst EmptyBitRecord |
type family (field :: Extends (BitRecordField (t :: BitField (rt :: Type) (st :: k) (len :: Nat)))) :~ (value :: Extends (FieldValue (label :: Symbol) st)) :: Extends (BitRecordField t) where ... infixl 7 Source #
Set a field to either a static, compile time, value or a dynamic, runtime value.
Equations
| fld :~ (StaticFieldValue l v) = (l @: fld) := v | |
| fld :~ (RuntimeFieldValue l) = l @: fld |
type (.+.) (l :: Extends (BitRecordField t1)) (r :: Extends (BitRecordField t2)) = Append (BitRecordMember l) (BitRecordMember r) infixr 6 Source #
Append a BitRecordField and a BitRecordField forming a BitRecord with
two members.
type (.+:) (f :: Extends (BitRecordField t1)) (r :: BitRecord) = Append (BitRecordMember f) r infixr 6 Source #
Append a BitRecordField and a BitRecord
type (:+.) (r :: BitRecord) (f :: Extends (BitRecordField t1)) = Append r (BitRecordMember f) infixl 6 Source #
Append a BitRecord and a BitRecordField
type family Append (l :: BitRecord) (r :: BitRecord) :: BitRecord where ... Source #
Equations
| Append l EmptyBitRecord = l | |
| Append EmptyBitRecord r = r | |
| Append l r = BitRecordAppend l r |
data (l :: Extends BitRecord) :^+ (r :: BitRecord) :: Extends BitRecord infixl 3 Source #
data (l :: BitRecord) :+^ (r :: Extends BitRecord) :: Extends BitRecord infixl 3 Source #
type OptionalRecordOf (f :: Extends (s -> Extends BitRecord)) (x :: Maybe s) = (Optional (Konst EmptyBitRecord) f $ x :: Extends BitRecord) Source #
Either use the value from Just or return a EmptyBitRecord value(types(kinds))
type family BitRecordMemberCount (b :: BitRecord) :: Nat where ... Source #
Get the total number of members in a record.
Equations
type family Bits2Bytes2 (bitSizeDiv8 :: Nat) (bitSizeMod8 :: Nat) :: Nat where ... Source #
Equations
| Bits2Bytes2 bytes 0 = bytes | |
| Bits2Bytes2 bytes n = bytes + 1 |
type Bits2Bytes (bitSize :: Nat) = Bits2Bytes2 (Div bitSize 8) (Mod bitSize 8) Source #
type family SizeInBytes (c :: k) :: Nat Source #
For something to be augmented by a size field there must be an instance of this family to generate the value of the size field, e.g. by counting the elements.
Instances
| type SizeInBytes (b :: BitRecord) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type SizeInBytes (Labelled l f :: a -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type SizeInBytes (f :=. v :: BitField rt k size -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type SizeInBytes (MkField t :: BitRecordField t -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type SizeInBytes (f := v :: BitRecordField t -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type SizeInBytes (LabelF l f :: BitRecordField t -> Type) Source # | |
Defined in Data.Type.BitRecords.Core | |
| type SizeInBytes (t :: BitField rt st size) Source # | |
Defined in Data.Type.BitRecords.Core | |
type family SizeInBits (x :: k) :: Nat where ... Source #
Get the number of bits in a BitRecord
Equations
| SizeInBits EmptyBitRecord = 0 | |
| SizeInBits (BitRecordMember f) = FieldWidth f | |
| SizeInBits (RecordField f) = BitFieldSize (From f) | |
| SizeInBits (BitRecordAppend l r) = SizeInBits l + SizeInBits r |
type family WhenR (b :: Bool) (x :: BitRecord) :: BitRecord where ... Source #
A conditional BitRecord
Equations
| WhenR False r = EmptyBitRecord | |
| WhenR True r = r |
BitRecordFields assembly
Constructors
| EmptyBitRecord :: BitRecord | |
| BitRecordMember :: Extends (BitRecordField t) -> BitRecord | |
| RecordField :: Extends (BitField rt st size) -> BitRecord | |
| BitRecordAppend :: BitRecord -> BitRecord -> BitRecord |
Instances
getRecordSizeFromProxy :: forall px (rec :: BitRecord). KnownNat (SizeInBits rec) => px rec -> Integer Source #
Get the size of the record.
showARecord :: forall proxy (rec :: Extends BitRecord). PrettyTypeShow (PrettyRecord (From rec)) => proxy rec -> String Source #
Render rec to a pretty, human readable form. Internally this is a wrapper
around ptShow using PrettyRecord.
showRecord :: forall proxy (rec :: BitRecord). PrettyTypeShow (PrettyRecord rec) => proxy rec -> String Source #
Render rec to a pretty, human readable form. Internally this is a wrapper
around ptShow using PrettyRecord.
type family UnsignedDemoteRep i where ... Source #
Equations
| UnsignedDemoteRep Int8 = Word8 | |
| UnsignedDemoteRep Int16 = Word16 | |
| UnsignedDemoteRep Int32 = Word32 | |
| UnsignedDemoteRep Int64 = Word64 |
data BitBuilderState where Source #
Constructors
| BitBuilderState :: !Builder -> !BitBuffer64 -> !Word64 -> BitBuilderState |
newtype BitBuilder Source #
Constructors
| BitBuilder | |
Fields | |
Instances
data BuilderWithSize where Source #
A wrapper around a builder derived from a BitBuilderState
Constructors
| MkBuilderWithSize :: !Word64 -> !Builder -> BuilderWithSize |
Instances
| Semigroup BuilderWithSize Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods (<>) :: BuilderWithSize -> BuilderWithSize -> BuilderWithSize # sconcat :: NonEmpty BuilderWithSize -> BuilderWithSize # stimes :: Integral b => b -> BuilderWithSize -> BuilderWithSize # | |
| Monoid BuilderWithSize Source # | |
Defined in Data.Type.BitRecords.Builder.LazyByteStringBuilder Methods mappend :: BuilderWithSize -> BuilderWithSize -> BuilderWithSize # mconcat :: [BuilderWithSize] -> BuilderWithSize # | |
| IsBoxContent BuilderWithSize Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Box Methods boxSize :: BuilderWithSize -> BoxSize Source # boxBuilder :: BuilderWithSize -> Builder Source # | |
bitBuilderWithSize :: forall (record :: BitRecord). HasFunctionBuilder BitBuilder (Proxy record) => Proxy record -> ToFunction BitBuilder (Proxy record) BuilderWithSize Source #
Create a Builder from a BitRecord and store it in a BuilderWithSize
wrapBitBuilderWithSize :: forall (record :: BitRecord) wrapped. HasFunctionBuilder BitBuilder (Proxy record) => (BuilderWithSize -> wrapped) -> Proxy record -> ToFunction BitBuilder (Proxy record) wrapped Source #
Like bitBuilderWithSize, but toFunction the result and accept as an additional
parameter a wrapper function to wrap the final result (the BuilderWithSize) and
toFunction the whole machiner.
builderBoxConstructor :: forall (record :: BitRecord) r. HasFunctionBuilder BitBuilder (Proxy record) => Proxy record -> FunctionBuilder BuilderWithSize r (ToFunction BitBuilder (Proxy record) r) Source #
Create a Builder from a BitRecord and store it in a BuilderWithSize;
return a FunctionBuilder monoid that does that on toFunction
runBitBuilder :: BitBuilder -> Builder Source #
flushBitBuilder :: BitBuilderState -> BitBuilderState Source #
Write the partial buffer contents using any number of word8 The unwritten
parts of the bittr buffer are at the top. If the
63 ... (63-off-1)(63-off) ... 0
^^^^^^^^^^^^^^^^^^^
Relevant bits start to the top!appendBitBuffer64 :: BitBuffer64 -> BitBuilder Source #
Write all the bits, in chunks, filling and writing the BitBuffer64
in the BitBuilderState as often as necessary.
appendStrictByteString :: ByteString -> BitBuilder Source #
Write all the b*y*tes, into the BitBuilderState this allows general
purposes non-byte aligned builders.
runBitBuilderHoley :: FunctionBuilder BitBuilder Builder a -> a Source #
printBuilder :: Builder -> String Source #
Print a Builder to a space seperated series of hexa-decimal bytes.
bitBuffer64Printer :: HasFunctionBuilder BitBuilder a => a -> ToFunction BitBuilder a String Source #
data EnumValue e where Source #
An enum value supplied at runtime.
Constructors
| MkEnumValue :: KnownNat (FromEnum e v) => Proxy (v :: e) -> EnumValue e |
Instances
type family FromEnum enum (entry :: enum) :: Nat Source #
Return the numeric index of an entry in a table. This emulates fromEnum a bit.
Instances
data EnumParamAlt (label :: Symbol) (ef :: Extends (EnumField (enum :: Type) (size :: Nat))) :: Extends (EnumOf enum) Source #
Create an EnumOf that sets the extended enum to a runtime value.
Instances
| type From (EnumParamAlt label (FixedEnum enum size) :: EnumOf enum -> Type) Source # | |
| type From (EnumParamAlt label (ExtEnum enum size extInd extField) :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (EnumParamAlt label (ExtEnum enum size extInd extField) :: EnumOf enum -> Type) = MkEnumOf (ExtEnum enum size extInd extField) (StaticFieldValue label extInd) (BitRecordMember (extField :~ (RuntimeFieldValue label :: FieldValue label st -> Type))) | |
data SetEnumAlt (l :: Symbol) (ef :: Extends (EnumField (enum :: Type) (size :: Nat))) (v :: k) :: Extends (EnumOf enum) Source #
Create an EnumOf that sets an extended enum to an extended static value.
Instances
| type From (SetEnumAlt l (FixedEnum enum size) value :: EnumOf enum -> Type) Source # | |
| type From (SetEnumAlt l (ExtEnum enum size extInd extField) value :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (SetEnumAlt l (ExtEnum enum size extInd extField) value :: EnumOf enum -> Type) = MkEnumOf (ExtEnum enum size extInd extField) (StaticFieldValue l extInd) (BitRecordMember (extField := value)) | |
data EnumParam (label :: Symbol) (ef :: Extends (EnumField (enum :: Type) (size :: Nat))) :: Extends (EnumOf enum) Source #
Create an EnumOf that sets the enum to a runtime value.
Instances
| type From (EnumParam label ei :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (EnumParam label ei :: EnumOf enum -> Type) = MkEnumOf ei (RuntimeFieldValue label :: FieldValue label enum -> Type) EmptyBitRecord | |
data SetEnum (l :: Symbol) (ef :: Extends (EnumField enum size)) (v :: enum) :: Extends (EnumOf enum) Source #
Create an EnumOf that sets an enum to a static value.
Instances
| type From (SetEnum l ei value :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (SetEnum l ei value :: EnumOf enum -> Type) = MkEnumOf ei (StaticFieldValue l value) EmptyBitRecord | |
data ExtEnum (enum :: Type) (size :: Nat) (extInd :: enum) (extField :: Extends (BitRecordField (t :: BitField rt0 (st0 :: k0) len0))) :: Extends (EnumField enum size) Source #
An enum that can be extended with an additional BitRecordField, following
the regular enum field; the extension is optional, i.e. only if the
regular field contains a special value (e.g. 0xff).
Instances
| type From (EnumParamAlt label (ExtEnum enum size extInd extField) :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (EnumParamAlt label (ExtEnum enum size extInd extField) :: EnumOf enum -> Type) = MkEnumOf (ExtEnum enum size extInd extField) (StaticFieldValue label extInd) (BitRecordMember (extField :~ (RuntimeFieldValue label :: FieldValue label st -> Type))) | |
| type From (SetEnumAlt l (ExtEnum enum size extInd extField) value :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (SetEnumAlt l (ExtEnum enum size extInd extField) value :: EnumOf enum -> Type) = MkEnumOf (ExtEnum enum size extInd extField) (StaticFieldValue l extInd) (BitRecordMember (extField := value)) | |
data FixedEnum (enum :: Type) (size :: Nat) :: Extends (EnumField enum size) Source #
A fixed size EnumField
type BitRecordFieldOfEnumField (x :: Extends (EnumField e s)) = MkField (MkFieldCustom :: BitField (EnumValue e) e s) Source #
data EnumField (enum :: Type) (size :: Nat) Source #
Physical representation of an EnumOf, this is an abstract type
type family RenderEnumOf (e :: EnumOf enum) :: BitRecord where ... Source #
Equations
| RenderEnumOf (MkEnumOf mainField mainFieldVal extra) = (BitRecordFieldOfEnumField mainField :~ mainFieldVal) .+: extra |
type BitRecordOfEnum (e :: Extends (EnumOf enum)) = (RenderEnumOf (From e) :: BitRecord) Source #
data EnumOf enum where Source #
Wrapper around a type that can be represented as a short number, indexing the clauses of the (sum) type.
Constructors
| MkEnumOf :: Extends (EnumField enum size) -> Extends (FieldValue label enum) -> BitRecord -> EnumOf enum |
Instances
| type From (EnumParam label ei :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (EnumParam label ei :: EnumOf enum -> Type) = MkEnumOf ei (RuntimeFieldValue label :: FieldValue label enum -> Type) EmptyBitRecord | |
| type From (EnumParamAlt label (FixedEnum enum size) :: EnumOf enum -> Type) Source # | |
| type From (EnumParamAlt label (ExtEnum enum size extInd extField) :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (EnumParamAlt label (ExtEnum enum size extInd extField) :: EnumOf enum -> Type) = MkEnumOf (ExtEnum enum size extInd extField) (StaticFieldValue label extInd) (BitRecordMember (extField :~ (RuntimeFieldValue label :: FieldValue label st -> Type))) | |
| type From (SetEnum l ei value :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (SetEnum l ei value :: EnumOf enum -> Type) = MkEnumOf ei (StaticFieldValue l value) EmptyBitRecord | |
| type From (SetEnumAlt l (FixedEnum enum size) value :: EnumOf enum -> Type) Source # | |
| type From (SetEnumAlt l (ExtEnum enum size extInd extField) value :: EnumOf enum -> Type) Source # | |
Defined in Data.Type.BitRecords.Enum type From (SetEnumAlt l (ExtEnum enum size extInd extField) value :: EnumOf enum -> Type) = MkEnumOf (ExtEnum enum size extInd extField) (StaticFieldValue l extInd) (BitRecordMember (extField := value)) | |
fromEnumValue :: EnumValue e -> Word64 Source #
type SizedField64 t = SizedField FieldU64 t Source #
A convenient alias for a SizedField with an FieldU64 size field.
type SizedField32 t = Sized32 (Konst (RecordField t)) Source #
A convenient alias for a SizedField with an FieldU32 size field.
type SizedField16 t = SizedField FieldU16 t Source #
A convenient alias for a SizedField with an FieldU16 size field.
type SizedField8 t = SizedField FieldU8 t Source #
A convenient alias for a SizedField with an FieldU8 size field.
data SizedField (sf :: Extends (BitRecordField (t :: BitField (rt :: Type) Nat (size :: Nat)))) (r :: Extends (BitRecordField (u :: BitField (rt' :: Type) (st' :: k0) (len0 :: Nat)))) :: Extends BitRecord Source #
A record with a size member, and a nested field that can be counted
using SizeInBytes.
Instances
| type From (SizedField sf r :: BitRecord -> Type) Source # | |
Defined in Data.Type.BitRecords.Sized | |
data Sized (sf :: Extends (BitRecordField (t :: BitField (rt :: Type) Nat (size :: Nat)))) (r :: BitRecord) :: Extends BitRecord Source #
A record with a size member, and a nested record that can be counted
using SizeInBytes.
data ASizedString Source #
Instances
| type PrettyCustomFieldValue ASizedString ASizedString s (sr :: ASizedString) Source # | |
Defined in Data.Type.BitRecords.SizedString | |
| type ToPretty ASizedString Source # | |
Defined in Data.Type.BitRecords.SizedString | |
type SizedString2 str bytes = Konst (MkFieldCustom :: BitField ASizedString ASizedString (8 * bytes)) :=. MkASizedString str bytes Source #
type SizedString str bytes = MkField (MkFieldCustom :: BitField ASizedString ASizedString (8 * bytes)) := MkASizedString str bytes Source #
A type level symbol paired with a type level length, that determines how many characters of the symbol may be used. The first parameter defines the length field.
utf8 :: QuasiQuoter Source #
Create a SizedString from a utf-8 string
utf82 :: QuasiQuoter Source #
Create a SizedString from a utf-8 string