compdata-0.11: Compositional Data Types

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

Data.Comp.Multi.Show

Contents

Description

This module defines showing of (higher-order) signatures, which lifts to showing of (higher-order) terms and contexts. All definitions are generalised versions of those in Data.Comp.Show.

Synopsis

Documentation

class ShowHF f where Source #

Signature printing. An instance ShowHF f gives rise to an instance KShow (HTerm f).

Orphan instances

KShow (K ()) Source # 

Methods

kshow :: K () i -> K String i Source #

KShow (K String) Source # 

Methods

kshow :: K String i -> K String i Source #

(ShowHF f, HFunctor f) => ShowHF (Cxt h f) Source # 

Methods

showHF :: Alg (Cxt h f) (K String) Source #

showHF' :: Cxt h f (K String) :=> String Source #

(ShowHF f, HFunctor f, KShow a) => KShow (Cxt h f a) Source # 

Methods

kshow :: Cxt h f a i -> K String i Source #

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

Methods

showHF :: Alg ((* :&: f) p) (K String) Source #

showHF' :: (* :&: f) p (K String) :=> String Source #

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

Methods

showHF :: Alg ((* :+: f) g) (K String) Source #

showHF' :: (* :+: f) g (K String) :=> String Source #

KShow (Cxt h f a) => Show (Cxt h f a i) Source # 

Methods

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

show :: Cxt h f a i -> String #

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