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://
UploadedTue Jun 24 18:57:23 UTC 2014 by JamesCook
DistributionsDebian:, NixOS:, Stackage:
Downloads3127 total (145 in last 30 days)
0 []
StatusDocs available [build log]
Successful builds reported [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees