Limit

Wrapper for data that can be unbounded

Latest on Hackage:1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Nate Soares
Maintained by [email protected]

Limit n is like Maybe n, with (Bounded n) in place of (Just n) and Unbounded in place of Nothing. The only difference is that ∀n. Unbounded >= Bounded n, which makes Limit a good data type to deal with numbers that can become unbounded.