empty-monad: A container that always has no values.

[ bsd3, data, library ] [ Propose Tags ]

Like arithmetics is incomplete without zero, set theory is impossible without a notion of an empty set, algorithm theory must take into account totally undefined functions -- so the domain of data types needs its absolute zero. Void type from the void package https://hackage.haskell.org/package/void provides a zero element for the kind * of unparametrized types. This package does the same for the kind *->* of types with one parameter.

Versions [faq] 0.1.0.0, 0.1.0.1
Dependencies base (==4.8.*) [details]
License BSD-3-Clause
Copyright Vadim Vinnik, 2017
Author Vadim Vinnik
Maintainer vadim.vinnik@gmail.com
Category Data
Home page https://github.com/vadimvinnik/empty-monad
Source repo head: git clone https://github.com/vadimvinnik/empty-monad.git
Uploaded by vadimvinnik at Fri Jan 27 01:04:28 UTC 2017
Distributions NixOS:0.1.0.1
Downloads 640 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-01-27 [all 3 reports]

Modules

  • Data
    • Data.Empty

Downloads

Maintainer's Corner

For package maintainers and hackage trustees