compdata-param-0.8: Parametric Compositional Data Types

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

Data.Comp.Param.Show

Description

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

Synopsis

Documentation

class ShowD f where Source

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

Instances

(ShowD f, Show p) => ShowD ((:&:) f p) 
(ShowD f, ShowD g) => ShowD ((:+:) f g) 
(Difunctor f, ShowD f) => ShowD (Cxt h f)

From an ShowD difunctor an ShowD instance of the corresponding term type can be derived.