An even fancier Get monad, last in a series?

Michael Karcher usenet at
Wed Aug 6 09:17:30 EDT 2008

Chris Kuklewicz <haskell at> 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?

  Michael Karcher

More information about the Libraries mailing list