Behavior change of Data.Char

Roman Cheplyaka roma at ro-che.info
Thu Feb 19 10:33:53 UTC 2015


These are not bugs — these are changes in the Unicode standard.

See
http://www.unicode.org/Public/6.0.0/ucd/UnicodeData.txt (old)
http://www.unicode.org/Public/7.0.0/ucd/UnicodeData.txt (new)

On 19/02/15 12:14, Kazu Yamamoto (山本和彦) wrote:
> David,
> 
> Thank you for the information.
> 
> I would like to know whether or not this behavior changes are
> intentional.  If they are bugs, we need to fix them before releasing
> GHC 7.10.1.
> 
> --Kazu
> 
>> 7.10 uses a newer version of Unicode, which could explain differences.
>>
>> On Thu, Feb 19, 2015 at 12:19 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>>> Hi,
>>>
>>> It seems to me that some characters of GHC 7.10.1RC2 behave
>>> differently from those of GHC 7.8.4:
>>>
>>>                           7.8.4   7.10.1RC2
>>> isLower (char 170)        True    False
>>> isSymbol (chr 182)        True    False
>>> isPunctuation (chr 182)   Fase    True
>>>
>>> Is this intentional?
>>>
>>> I noticed this because I received a bug report:
>>>
>>>         https://github.com/kazu-yamamoto/word8/issues/3
>>>
>>> As you can see, 167 also behaves differently.
>>>
>>> --Kazu
>>> _______________________________________________
>>> Libraries mailing list
>>> Libraries at haskell.org
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
> 



More information about the Libraries mailing list