compdata-0.12.1: Compositional Data Types
Copyright(c) 2010-2011 Patrick Bahr Tom Hvitved
LicenseBSD3
MaintainerPatrick Bahr <paba@diku.dk>
Stabilityexperimental
Portabilitynon-portable (GHC Extensions)
Safe HaskellNone
LanguageHaskell2010

Data.Comp.Show

Description

This module defines showing of signatures, which lifts to showing of terms and contexts.

Synopsis

Documentation

class ShowF f where Source #

Signature printing. An instance ShowF f gives rise to an instance Show (Term f).

Methods

showF :: f String -> String Source #

Instances

Instances details
ShowF [] Source # 
Instance details

Defined in Data.Comp.Show

Methods

showF :: [String] -> String Source #

ShowF Maybe Source # 
Instance details

Defined in Data.Comp.Show

Show a => ShowF ((,) a) Source # 
Instance details

Defined in Data.Comp.Show

Methods

showF :: (a, String) -> String Source #

(Functor f, ShowF f) => ShowF (Cxt h f) Source # 
Instance details

Defined in Data.Comp.Show

Methods

showF :: Cxt h f String -> String Source #

(ShowF f, Show p) => ShowF (f :&: p) Source # 
Instance details

Defined in Data.Comp.Show

Methods

showF :: (f :&: p) String -> String Source #

(ShowF f, ShowF g) => ShowF (f :+: g) Source # 
Instance details

Defined in Data.Comp.Show

Methods

showF :: (f :+: g) String -> String Source #

Orphan instances

ShowF [] Source # 
Instance details

Methods

showF :: [String] -> String Source #

ShowF Maybe Source # 
Instance details

Show a => ShowF ((,) a) Source # 
Instance details

Methods

showF :: (a, String) -> String Source #

(Functor f, ShowF f) => ShowF (Cxt h f) Source # 
Instance details

Methods

showF :: Cxt h f String -> String Source #

(Functor f, ShowF f, Show a) => Show (Cxt h f a) Source # 
Instance details

Methods

showsPrec :: Int -> Cxt h f a -> ShowS #

show :: Cxt h f a -> String #

showList :: [Cxt h f a] -> ShowS #

(ShowConstr f, Show p) => ShowConstr (f :&: p) Source # 
Instance details

Methods

showConstr :: (f :&: p) a -> String Source #

(ShowConstr f, ShowConstr g) => ShowConstr (f :+: g) Source # 
Instance details

Methods

showConstr :: (f :+: g) a -> String Source #

(ShowF f, Show p) => ShowF (f :&: p) Source # 
Instance details

Methods

showF :: (f :&: p) String -> String Source #

(ShowF f, ShowF g) => ShowF (f :+: g) Source # 
Instance details

Methods

showF :: (f :+: g) String -> String Source #