text-show-instances-3.9.5: Additional instances for text-show
Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

TextShow.Data.Containers

Description

TextShow instances for data types in the containers library.

Since: 2

Orphan instances

TextShow IntSet Source #

Since: 2

Instance details

TextShow1 SCC Source #

Since: 3.6

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> SCC a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [SCC a] -> Builder #

TextShow1 IntMap Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> IntMap a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [IntMap a] -> Builder #

TextShow1 Seq Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Seq a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Seq a] -> Builder #

TextShow1 ViewL Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> ViewL a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [ViewL a] -> Builder #

TextShow1 ViewR Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> ViewR a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [ViewR a] -> Builder #

TextShow1 Set Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Set a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Set a] -> Builder #

TextShow1 Tree Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Tree a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Tree a] -> Builder #

TextShow2 Map Source #

Since: 2

Instance details

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> Map a b -> Builder #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [Map a b] -> Builder #

TextShow vertex => TextShow (SCC vertex) Source #

Since: 3.6

Instance details

Methods

showbPrec :: Int -> SCC vertex -> Builder #

showb :: SCC vertex -> Builder #

showbList :: [SCC vertex] -> Builder #

showtPrec :: Int -> SCC vertex -> Text #

showt :: SCC vertex -> Text #

showtList :: [SCC vertex] -> Text #

showtlPrec :: Int -> SCC vertex -> Text #

showtl :: SCC vertex -> Text #

showtlList :: [SCC vertex] -> Text #

TextShow v => TextShow (IntMap v) Source #

Since: 2

Instance details

TextShow a => TextShow (Seq a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Seq a -> Builder #

showb :: Seq a -> Builder #

showbList :: [Seq a] -> Builder #

showtPrec :: Int -> Seq a -> Text #

showt :: Seq a -> Text #

showtList :: [Seq a] -> Text #

showtlPrec :: Int -> Seq a -> Text #

showtl :: Seq a -> Text #

showtlList :: [Seq a] -> Text #

TextShow a => TextShow (ViewL a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> ViewL a -> Builder #

showb :: ViewL a -> Builder #

showbList :: [ViewL a] -> Builder #

showtPrec :: Int -> ViewL a -> Text #

showt :: ViewL a -> Text #

showtList :: [ViewL a] -> Text #

showtlPrec :: Int -> ViewL a -> Text #

showtl :: ViewL a -> Text #

showtlList :: [ViewL a] -> Text #

TextShow a => TextShow (ViewR a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> ViewR a -> Builder #

showb :: ViewR a -> Builder #

showbList :: [ViewR a] -> Builder #

showtPrec :: Int -> ViewR a -> Text #

showt :: ViewR a -> Text #

showtList :: [ViewR a] -> Text #

showtlPrec :: Int -> ViewR a -> Text #

showtl :: ViewR a -> Text #

showtlList :: [ViewR a] -> Text #

TextShow a => TextShow (Set a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Set a -> Builder #

showb :: Set a -> Builder #

showbList :: [Set a] -> Builder #

showtPrec :: Int -> Set a -> Text #

showt :: Set a -> Text #

showtList :: [Set a] -> Text #

showtlPrec :: Int -> Set a -> Text #

showtl :: Set a -> Text #

showtlList :: [Set a] -> Text #

TextShow a => TextShow (Tree a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Tree a -> Builder #

showb :: Tree a -> Builder #

showbList :: [Tree a] -> Builder #

showtPrec :: Int -> Tree a -> Text #

showt :: Tree a -> Text #

showtList :: [Tree a] -> Text #

showtlPrec :: Int -> Tree a -> Text #

showtl :: Tree a -> Text #

showtlList :: [Tree a] -> Text #

TextShow k => TextShow1 (Map k) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Map k a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Map k a] -> Builder #

(TextShow k, TextShow v) => TextShow (Map k v) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Map k v -> Builder #

showb :: Map k v -> Builder #

showbList :: [Map k v] -> Builder #

showtPrec :: Int -> Map k v -> Text #

showt :: Map k v -> Text #

showtList :: [Map k v] -> Text #

showtlPrec :: Int -> Map k v -> Text #

showtl :: Map k v -> Text #

showtlList :: [Map k v] -> Text #