compdata-0.5: Compositional Data Types

Portabilitynon-portable (GHC Extensions)
Stabilityexperimental
MaintainerPatrick Bahr <paba@diku.dk>

Data.Comp.Multi.Show

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 whereSource

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

Instances

(ShowHF f, HFunctor f) => ShowHF (Cxt h f) 
(ShowHF f, Show p) => ShowHF (:&: f p) 
(ShowHF f, ShowHF g) => ShowHF (:+: f g)