compdata-0.11: Compositional Data Types

Copyright(c) 2010-2011 Patrick Bahr Tom Hvitved
LicenseBSD3
MaintainerPatrick Bahr <paba@diku.dk>
Stabilityexperimental
Portabilitynon-portable (GHC Extensions)
Safe HaskellNone
LanguageHaskell98

Data.Comp.Show

Contents

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

Minimal complete definition

showF

Methods

showF :: f String -> String Source #

Orphan instances

ShowF [] Source # 

Methods

showF :: [String] -> String Source #

ShowF Maybe Source # 
Show a0 => ShowF ((,) a0) Source # 

Methods

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

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

Methods

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

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

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 # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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