Proposal: Make digitToInt and intToDigit work up to base 36

Edward Kmett ekmett at gmail.com
Mon Jul 2 20:40:44 CEST 2012


-1 as well

On Mon, Jul 2, 2012 at 1:17 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:

> On Fri, Jun 29, 2012 at 1:59 PM, Twan van Laarhoven <twanvl at gmail.com>wrote:
>
>>
>> I propose to change the functions digitToInt and intToDigit in Data.Char
>> [...]
>>
>
> This seems like a very strange change to want to make.
>
> It already surprised me that digitToInt accepted hex digits; having it
> accept digits in number bases that nobody uses seems like even less
> desirable behaviour.
>
> Quite strongly against this.
>
> _______________________________________________
> 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/20120702/9520752b/attachment.htm>


More information about the Libraries mailing list