LicenseRef-PublicDomain licensed and maintained by James Cook
This version can be pinned in stack with:dependent-sum-0.3.2.2@sha256:6cf666336c278581b0c6a810b01a12aa4214989cf6910705848010a244585b36,1911

Module documentation for 0.3.2.2

Depends on 1 package(full list with versions):
Used by 2 packages in nightly-2016-09-22(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.