An even fancier Get monad, last in a series?
usenet at mkarcher.dialup.fu-berlin.de
Wed Aug 6 09:17:30 EDT 2008
Chris Kuklewicz <haskell at list.mightyreason.com> wrote:
> The length of this queue can be examined with "pendingItems" which returns an
> Int, which will be non-negative.
Wouldn't it be more in the spirit of Haskell to use a data type that has
"non-negative" already built in, like Data.Word.Word?
More information about the Libraries