singletons: Basic singleton types and definitions
singletons contains the basic types and definitions needed to support
dependently typed programming techniques in Haskell. This library was
originally presented in Dependently Typed Programming with Singletons,
published at the Haskell Symposium, 2012.
(https://richarde.dev/papers/2012/singletons/paper.pdf)
singletons is intended to be a small, foundational library on which other
projects can build. As such, singletons has a minimal dependency
footprint and supports GHCs dating back to GHC 8.0. For more information,
consult the singletons
README.
You may also be interested in the following related libraries:
The
singletons-thlibrary defines Template Haskell functionality that allows promotion of term-level functions to type-level equivalents and singling functions to dependently typed equivalents.The
singletons-baselibrary usessingletons-thto define promoted and singled functions from thebaselibrary, including the Prelude.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- singletons-3.0.4.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 1.0, 1.1, 1.1.1, 1.1.2, 1.1.2.1, 2.0, 2.0.0.1, 2.0.0.2, 2.0.1, 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.4.1, 2.5, 2.5.1, 2.6, 2.7, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4 |
|---|---|
| Change log | CHANGES.md |
| Dependencies | base (>=4.9 && <4.23) [details] |
| Tested with | ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.7, ghc ==9.4.8, ghc ==9.6.6, ghc ==9.8.2, ghc ==9.10.1, ghc ==9.12.1 |
| License | BSD-3-Clause |
| Author | Richard Eisenberg <rae@cs.brynmawr.edu>, Jan Stolarek <jan.stolarek@p.lodz.pl> |
| Maintainer | Ryan Scott <ryan.gl.scott@gmail.com> |
| Uploaded | by ryanglscott at 2024-12-11T12:49:55Z |
| Revised | Revision 1 made by ryanglscott at 2026-01-11T00:21:49Z |
| Category | Dependent Types |
| Home page | http://www.github.com/goldfirere/singletons |
| Bug tracker | https://github.com/goldfirere/singletons/issues |
| Source repo | this: git clone https://github.com/goldfirere/singletons.git(tag v3.0.2)(singletons) head: git clone https://github.com/goldfirere/singletons.git -b master(singletons) |
| Distributions | Arch:3.0.4, Debian:2.6, LTSHaskell:3.0.4, NixOS:3.0.4, Stackage:3.0.4 |
| Reverse Dependencies | 124 direct, 222 indirect [details] |
| Downloads | 52959 total (96 in the last 30 days) |
| Rating | 2.75 (votes: 10) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2024-12-11 [all 1 reports] |