The latest version of typelits-witnesses is 0.4.1.0-0.
typelits-witnesses
Version 0.1.2.0 revision 1 uploaded by Bodigrim.
Package meta
- Synopsis
- Existential witnesses, singletons, and classes for operations on GHC TypeLits
- Description
Provides witnesses for KnownNat and KnownSymbol instances for various operations on GHC TypeLits - in particular, the arithmetic operations defined in GHC.TypeLits, and also for type-level lists of KnownNat and KnownSymbol instances.
This is useful for situations where you have
KnownNat n
, and you want to prove to GHCKnownNat (n + 3)
, orKnownNat (2*n + 4)
.It's also useful for when you want to work with type level lists of KnownNat or KnownSymbol instances and singletons for traversing them, and be able to apply analogies of natVal and symbolVal to lists with analogies for SomeNat and SomeSymbol.
See README for more information.
- Author
- Justin Le
- Bug reports
- n/a
- Category
- Data
- Copyright
- (c) Justin Le 2015
- Homepage
- https://github.com/mstksg/typelits-witnesses
- Maintainer
- justin@jle.im
- Package URL
- n/a
- Stability
- n/a