Portability | non-portable |
---|---|

Stability | experimental |

Maintainer | generics@haskell.org |

Generic show.

# Generic show

class HFunctor phi f => HShow phi f whereSource

hShowsPrecAlg :: Algebra' phi f [Int -> ShowS]Source

HShow phi U | |

Show a => HShow phi (K a) | For constant types, we make use of the standard show function. |

El phi xi => HShow phi (I xi) | |

(Constructor c, HShow phi f) => HShow phi (C c f) | |

HShow phi f => HShow phi (:>: f ix) | |

(HShow phi f, HShow phi g) => HShow phi (:*: f g) | |

(HShow phi f, HShow phi g) => HShow phi (:+: f g) |