An even fancier Get monad, last in a series?

Michael Karcher 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?

Regards,
  Michael Karcher



More information about the Libraries mailing list