LicenseRef-PublicDomain licensed and maintained by James Cook

Module documentation for

This version can be pinned in stack with:[email protected]:82b965aeefb6835bdc6d5ba867f8db1b6fb7bbebdf12dec49cbe36fcf60c1b67,1983

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.

Depends on 1 package(full list with versions):