typelits-witnesses: Existential witnesses, singletons, and classes for operations on GHC TypeLits

[ data, library, mit ] [ Propose Tags ]

This library contains:


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.4.0.0 (info)
Change log CHANGELOG.md
Dependencies base (>=4.10 && <5), dependent-sum [details]
License MIT
Copyright (c) Justin Le 2018
Author Justin Le
Maintainer justin@jle.im
Category Data
Home page https://github.com/mstksg/typelits-witnesses
Source repo head: git clone git://github.com/mstksg/typelits-witnesses.git
Uploaded by jle at Fri Jun 21 00:34:04 UTC 2019
Distributions LTSHaskell:0.3.0.3, NixOS:0.4.0.0, Stackage:0.3.0.3
Downloads 3801 total (295 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-06-21 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for typelits-witnesses-0.4.0.0

[back to package description]

typelits-witnesses

typelits-witnesses on Hackage typelits-witnesses on Stackage LTS typelits-witnesses on Stackage Nightly Build Status

This library contains:

  • A small specialized subset of the singletons library as it pertains to Nat and Symbol, for when you need some simple functionality without wanting to invoke the entire singletons library.
  • Operations for manipulating these singletons and KnownNat and KnownSymbol instances, such as addition and multiplication of singletons/KnownNat instances.
  • Operations for the comparison of Nats in a way that works well with GHC.TypeLits's different comparison systems. This is helpful for bridging together libraries that use different systems; this functionality is not yet provided by singletons.