read-bounded: Class for reading bounded values

[ bsd3, library, text ] [ Propose Tags ]

Class for reading bounded values.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2
Dependencies base (>=4.12.0.0 && <4.13) [details]
License BSD-3-Clause
Author Thomas Eding
Maintainer Thomas Eding
Category Text
Home page https://github.com/thomaseding/read-bounded
Bug tracker https://github.com/thomaseding/read-bounded/issues
Uploaded by ThomasEding at Sun Mar 24 14:08:51 UTC 2019
Distributions NixOS:0.1.1.2
Downloads 1195 total (42 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-03-24 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for read-bounded-0.1.1.2

[back to package description]

read-bounded

Library for reading in values that have bounded representations.

> readBounded "1" :: BoundedRead Word8
ExactRead 1
> readBounded "1000" :: BoundedRead Word8
ClampedRead 255
> readBounded "" :: BoundedRead Word8
NoRead