singletons-base
Version 3.5 revision 0 uploaded by ryanglscott.
Package meta
- Synopsis
- A promoted and singled version of the base library
- Description
singletons-base
usessingletons-th
to define promoted and singled functions from thebase
library, including the Prelude. 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) See also the paper published at Haskell Symposium, 2014, which describes how promotion works in greater detail: https://richarde.dev/papers/2014/promotion/promotion.pdf. . WARNING:singletons-base
defines orphan instances forSing
,SingKind
, etc. for common types such asBool
,[]
,Maybe
, etc. If you define instances of these types in your code, you will likely not be able to use that code withsingletons-base
. .singletons-base
uses code that relies on bleeding-edge GHC language extensions. As such,singletons-base
only supports the latest major version of GHC (currently GHC 9.12). For more information, consult thesingletons
README
. . You may also be interested in the following related libraries: . * Thesingletons
library is a small, foundational library that defines basic singleton-related types and definitions. . * Thesingletons-th
library defines Template Haskell functionality that allows promotion of term-level functions to type-level equivalents and singling functions to dependently typed equivalents.- Author
- Richard Eisenberg <rae@cs.brynmawr.edu>, Jan Stolarek <jan.stolarek@p.lodz.pl>
- Bug reports
- https://github.com/goldfirere/singletons/issues
- Category
- Dependent Types
- Copyright
- n/a
- Homepage
- http://www.github.com/goldfirere/singletons
- Maintainer
- Ryan Scott <ryan.gl.scott@gmail.com>
- Package URL
- n/a
- Stability
- experimental