compound-types: Sum and Product types and such

[ data, library, mit, type-system, types ] [ Propose Tags ]

This library provides first-class multi-arity product- and sum-types and neat type-level utilities for their composition. The solution is quite simple and doesn’t require the advanced proficiency in the language to be applied in practice.

For a comprehensive introduction please see this blog post.

Versions [faq] 0.1,, 0.1.1,, 0.1.2,, 0.1.3,, 0.1.4
Dependencies base (>=4.7 && <5) [details]
License MIT
Copyright (c) 2016, Nikita Volkov
Author Nikita Volkov <>
Maintainer Nikita Volkov <>
Category Data, Types, Type System
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by NikitaVolkov at Fri Sep 29 16:13:19 UTC 2017
Distributions NixOS:0.1.4
Downloads 4036 total (345 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-09-29 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees