read-bounded: Class for reading bounded values

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] [Publish]

Class for reading bounded values.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.3
Change log None available
Dependencies base (>=4.13.0.0 && <4.14) [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 2020-09-11T19:09:29Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for read-bounded-0.1.1.3

[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