Proposal: Make digitToInt and intToDigit work up to base 36

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

On Fri, Jun 29, 2012 at 1:59 PM, Twan van Laarhoven <twanvl at>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: <>

More information about the Libraries mailing list