Copyright | (c) Ross Paterson 2014 |
---|---|

License | BSD-style (see the file LICENSE) |

Maintainer | R.Paterson@city.ac.uk |

Stability | experimental |

Portability | portable |

Safe Haskell | Safe |

Language | Haskell98 |

Sums, lifted to functors.

# Documentation

Lifted sum of functors.

(Functor f, Functor g) => Functor (Sum f g) Source | |

(Foldable f, Foldable g) => Foldable (Sum f g) Source | |

(Traversable f, Traversable g) => Traversable (Sum f g) Source | |

(Show1 f, Show1 g) => Show1 (Sum f g) Source | |

(Read1 f, Read1 g) => Read1 (Sum f g) Source | |

(Ord1 f, Ord1 g) => Ord1 (Sum f g) Source | |

(Eq1 f, Eq1 g) => Eq1 (Sum f g) Source | |

(Eq1 f, Eq1 g, Eq a) => Eq (Sum f g a) Source | |

(Ord1 f, Ord1 g, Ord a) => Ord (Sum f g a) Source | |

(Read1 f, Read1 g, Read a) => Read (Sum f g a) Source | |

(Show1 f, Show1 g, Show a) => Show (Sum f g a) Source |