read-bounded: Class for reading bounded values

[ bsd3, library, text ] [ Propose Tags ]

Class for reading bounded values from strings.

[Skip to Readme]
Versions [faq],,
Dependencies base (>=4.9 && <5.0) [details]
License BSD-3-Clause
Author Thomas Eding
Category Text
Home page
Uploaded by ThomasEding at Wed Jan 4 20:00:34 UTC 2017
Distributions NixOS:
Downloads 1012 total (44 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 2017-01-04 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for read-bounded-

[back to package description]


Library for reading in values that have bounded representations.

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