text-show-instances-3.4: Additional instances for text-show

Copyright(C) 2014-2016 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Containers

Contents

Description

Monomorphic TextShow functions for data types in the containers library.

Since: 2

Synopsis

Documentation

liftShowbIntMapPrec :: (v -> Builder) -> Int -> IntMap v -> Builder Source #

Convert an IntMap to a Builder with the given show function and precedence.

Since: 3

showbIntSetPrec :: Int -> IntSet -> Builder Source #

Convert an IntSet to a Builder with the given precedence.

Since: 2

liftShowbMapPrec2 :: (k -> Builder) -> (v -> Builder) -> Int -> Map k v -> Builder Source #

Convert a Map to a Builder with the given show functions and precedence.

Since: 3

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

Convert a Sequence to a Builder with the given show function and precedence.

Since: 3

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

Convert a ViewL value to a Builder with the given show function and precedence.

Since: 3

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

Convert a ViewR value to a Builder with the given show function and precedence.

Since: 3

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

Convert a Set to a Builder with the given show function and precedence.

Since: 3

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

Convert a Tree to a Builder with the given show functions and precedence.

Since: 3

Orphan instances

TextShow IntSet Source # 
TextShow1 Tree Source # 

Methods

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

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

TextShow1 Seq Source # 

Methods

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

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

TextShow1 ViewL Source # 

Methods

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

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

TextShow1 ViewR Source # 

Methods

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

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

TextShow1 IntMap Source # 

Methods

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

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

TextShow1 Set Source # 

Methods

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

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

TextShow2 Map Source # 

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 a0 => TextShow (Tree a0) Source # 

Methods

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

showb :: Tree a0 -> Builder #

showbList :: [Tree a0] -> Builder #

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

showt :: Tree a0 -> Text #

showtList :: [Tree a0] -> Text #

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

showtl :: Tree a0 -> Text #

showtlList :: [Tree a0] -> Text #

TextShow a => TextShow (Seq a) Source # 

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 a0 => TextShow (ViewL a0) Source # 

Methods

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

showb :: ViewL a0 -> Builder #

showbList :: [ViewL a0] -> Builder #

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

showt :: ViewL a0 -> Text #

showtList :: [ViewL a0] -> Text #

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

showtl :: ViewL a0 -> Text #

showtlList :: [ViewL a0] -> Text #

TextShow a0 => TextShow (ViewR a0) Source # 

Methods

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

showb :: ViewR a0 -> Builder #

showbList :: [ViewR a0] -> Builder #

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

showt :: ViewR a0 -> Text #

showtList :: [ViewR a0] -> Text #

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

showtl :: ViewR a0 -> Text #

showtlList :: [ViewR a0] -> Text #

TextShow v => TextShow (IntMap v) Source # 
TextShow a => TextShow (Set a) Source # 

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 k => TextShow1 (Map k) Source # 

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 # 

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 #