Proposal: Make digitToInt and intToDigit work up to base 36

Bryan O'Sullivan bos at serpentine.com
Mon Jul 2 19:17:38 CEST 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120702/a4a2c80c/attachment.htm>


More information about the Libraries mailing list