read-bounded: Class for reading bounded values

[ bsd3, library, text ] [ Propose Tags ]

Class for reading bounded values from strings.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3
Dependencies base (>=4.9 && <5.0) [details]
License BSD-3-Clause
Author Thomas Eding
Maintainer thomasedingcode@gmail.com
Category Text
Home page https://github.com/thomaseding/read-bounded
Uploaded by ThomasEding at 2017-01-04T20:00:34Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 2809 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-01-04 [all 1 reports]

Readme for read-bounded-0.1.1.1

[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