The latest version of snumber is 0.3.0-1.

snumber

Version 0.3.0 revision 0 uploaded by AndrewPritchard.

Package meta

Synopsis
Integer singletons with flexible representation
Description

This provides singletons-style witnesses for type-level integers, and some limited arithmetic operations on them. Instead of working with (invisible, implicitly-passed) KnownNat instances, you can work with (visible, explicitly-mentioned) SNumber values, and can freely convert between the two forms.

This primarily exists in support of dependent-literals-plugin.

Author
Andrew Pritchard <awpr@google.com>
Bug reports
https://github.com/google/hs-dependent-literals/issues
Category
Constraints
Copyright
2020-2021 Google LLC
Homepage
https://github.com/google/hs-dependent-literals#readme
Maintainer
Andrew Pritchard <awpr@google.com>
Package URL
n/a
Stability
n/a

Components