The dependent-sum package

[Tags: library, public-domain]

A dependent sum is a generalization of a particular way of thinking about the Either type. Either a b can be thought of as a 2-tuple (tag, value), where the value of the tag determines the type of the value. In particular, either tag = Left and value :: a or tag = Right and value :: b.

This package allows you to define your own dependent sum types by using your own "tag" types.


Versions0.1, 0.2,,,,,,
Change logNone available
Dependenciesbase (>=3 && <5) [details]
AuthorJames Cook <>
MaintainerJames Cook <>
CategoryData, Dependent Types
Home page
Source repositoryhead: git clone git://
UploadedFri Aug 21 18:16:27 UTC 2015 by JamesCook
DistributionsDebian:, LTSHaskell:, NixOS:, Stackage:
Downloads3722 total (48 in last 30 days)
0 []
StatusDocs available [build log]
Last success reported on 2015-08-21 [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees