The read-bounded package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[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
Change logNone available
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