compdata-0.1: 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 HShowF f whereSource

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

Instances

(HShowF f, HFunctor f) => HShowF (HCxt h f) 
(HShowF f, Show p) => HShowF (:&&: f p) 
(HShowF f, HShowF g) => HShowF (:++: f g)