LicenseRef-PublicDomain licensed and maintained by James Cook
This version can be pinned in stack with:dependent-sum-0.3.2.1@sha256:1c1ff038baee6d6739405b39e5ae814eafeffdfcc91dc7de59f10c49e7bbfbd5,1645

Module documentation for 0.3.2.1

Depends on 1 package(full list with versions):
Used by 2 packages in nightly-2016-05-06(full list with versions):

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.