compdata-0.7: Compositional Data Types

Portabilitynon-portable (GHC Extensions)
Stabilityexperimental
MaintainerTom Hvitved <hvitved@diku.dk>
Safe HaskellNone

Data.Comp.Param.Show

Description

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

Synopsis

Documentation

class ShowD f whereSource

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.