The read-bounded package

[maintain]

Class for reading bounded values from strings.


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.1.1.0, 0.1.1.0, 0.1.1.1
Dependenciesbase (==4.7.*) [details]
LicenseBSD3
AuthorThomas Eding
Maintainerthomasedingcode@gmail.com
CategoryText
Home pagehttps://github.com/thomaseding/read-bounded
UploadedFri May 15 05:21:31 UTC 2015 by ThomasEding

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for read-bounded-0.1.1.0

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