| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Binrep.Type.Prefix.Internal
Documentation
Types which can encode natural (positive integer) lengths.
Types must provide convert to and from Int, which is the most common type
used for data lengths.
Associated Types
type LenNatMax a :: Natural Source #
The maximum value the type can encode.
type LenNatName a :: Symbol Source #
The name of the type, to display when used as part of a predicate.
Methods