text-show-instances-3.5: Additional instances for text-show

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

TextShow.Compiler.Hoopl

Contents

Description

Monomorphic TextShow functions for data types in the hoopl library.

Since: 2

Synopsis

Documentation

showbLabel :: Label -> Builder Source #

Convert a Label to a Builder.

Since: 2

liftShowbLabelMapPrec :: (v -> Builder) -> Int -> LabelMap v -> Builder Source #

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

Since: 3

showbLabelSetPrec :: Int -> LabelSet -> Builder Source #

Convert a LabelSet to a Builder with the given precedence.

Since: 2

liftShowbPointed :: (a -> Builder) -> Pointed t b a -> Builder Source #

Convert a Pointed value to a Builder with the given show function.

Since: 3

showbUnique :: Unique -> Builder Source #

Convert a Unique value to a Builder.

Since: 2

liftShowbUniqueMapPrec :: (v -> Builder) -> Int -> UniqueMap v -> Builder Source #

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

Since: 3

showbUniqueSetPrec :: Int -> UniqueSet -> Builder Source #

Convert a UniqueSet to a Builder with the given precedence.

Since: 2

showbDPath :: DPath -> Builder Source #

Convert a DPath to a Builder.

Since: 2

Orphan instances

TextShow DPath Source # 
TextShow DominatorNode Source # 
TextShow DominatorTree Source # 
TextShow Label Source # 
TextShow LabelSet Source # 
TextShow UniqueSet Source # 
TextShow1 LabelMap Source # 

Methods

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

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

TextShow1 UniqueMap Source # 

Methods

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

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

TextShow v0 => TextShow (LabelMap v0) Source # 
TextShow v0 => TextShow (UniqueMap v0) Source # 
TextShow2 (Pointed t) Source # 

Methods

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

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

TextShow1 (Pointed t b) Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Pointed t b a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Pointed t b a] -> Builder #

TextShow a => TextShow (Pointed t b a) Source # 

Methods

showbPrec :: Int -> Pointed t b a -> Builder #

showb :: Pointed t b a -> Builder #

showbList :: [Pointed t b a] -> Builder #

showtPrec :: Int -> Pointed t b a -> Text #

showt :: Pointed t b a -> Text #

showtList :: [Pointed t b a] -> Text #

showtlPrec :: Int -> Pointed t b a -> Text #

showtl :: Pointed t b a -> Text #

showtlList :: [Pointed t b a] -> Text #