PROPOSAL: Add 'Natural' type to base:Data.Word

Carter Schonwald carter.schonwald at gmail.com
Tue Nov 11 14:46:15 UTC 2014


+1


On Tue, Nov 11, 2014 at 9:30 AM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:

>
> On Tue, 11 Nov 2014, Herbert Valerio Riedel wrote:
>
>  ,----
>> | 23.1 Unsigned integral types
>> |
>> | This module provides unsigned integer types of unspecified width (Word)
>> | and fixed widths (Word8, Word16, Word32 and Word64). All arithmetic is
>> | performed modulo 2^n, where n is the number of bits in the type.
>> |
>> | ...
>> `----
>>
>
> "Number of bits in the type" suggests, that the number of bits depends
> only on the type, which is not true for Natural (and Integer), right?
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141111/bb46518e/attachment.html>


More information about the Libraries mailing list