prelude-extras-0.1: Haskell 98 - higher order versions of Prelude classes

Text.Show.Extras

Documentation

class Show1 f whereSource

Methods

showsPrec1 :: Show a => Int -> f a -> ShowSSource

show1 :: Show a => f a -> StringSource

showList1 :: Show a => [f a] -> ShowSSource

Instances

Show1 [] 
Show1 Maybe 
Show a => Show1 (Either a) 
Show a => Show1 ((,) a) 

shows1 :: (Show1 f, Show a) => f a -> ShowSSource

class Show2 f whereSource

Methods

showsPrec2 :: (Show a, Show b) => Int -> f a b -> ShowSSource

show2 :: (Show a, Show b) => f a b -> StringSource

showList2 :: (Show a, Show b) => [f a b] -> ShowSSource

Instances

shows2 :: (Show2 f, Show a, Show b) => f a b -> ShowSSource

showList__ :: (a -> ShowS) -> [a] -> ShowSSource