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.UnorderedContainers

Contents

Description

Monomorphic TextShow functions for HashMaps and HashSets.

Since: 2

Synopsis

Documentation

liftShowbHashMapPrec2 :: (k -> Builder) -> (v -> Builder) -> Int -> HashMap k v -> Builder Source #

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

Since: 3

liftShowbHashSetPrec :: ([a] -> Builder) -> Int -> HashSet a -> Builder Source #

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

Since: 3

Orphan instances

TextShow1 HashSet Source # 

Methods

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

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

TextShow2 HashMap Source # 

Methods

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

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

TextShow a => TextShow (HashSet a) Source # 
TextShow k => TextShow1 (HashMap k) Source # 

Methods

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

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

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

Methods

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

showb :: HashMap k v -> Builder #

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

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

showt :: HashMap k v -> Text #

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

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

showtl :: HashMap k v -> Text #

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