Re: [Factor-talk] ch-upper? recent meaning change

2010-10-08 Thread Slava Pestov
Hi Samuel,

The word was added by mistake and has been removed. You can use the
following words:

ascii:letter?
ascii:LETTER?
unicode.categories:letter?
unicode.categories:LETTER?

On Fri, Oct 8, 2010 at 12:46 PM, Samuel Tardieu  wrote:
> In change 2ef2372c87d3657ac0964c5f4e1ddfd5b28cf029 from last Wednesday,
> ch-upper? and ch-lower? were moved from unicode.case to ascii. The
> definition of ch-upper? is:
>
> : ch-upper? ( ch -- ? ) dup ch>upper = ;
>
> but the ch>upper now used is the one from ascii instead of the one from
> unicode.data.
>
> Before the change, we had:
>
> ( scratchpad ) CHAR: é ch-upper? . CHAR: É ch-upper? .
> f
> t
>
> while now we have:
>
> ( scratchpad ) CHAR: é ch-upper? . CHAR: É ch-upper? .
> t
> t
>
> which is obviously incorrect for é.
>
> It would probably be better to keep both versions (ascii and unicode.case)
> if we want ascii not to depend on unicode, or to drop the one in ascii as
> well as all the related words.
>
>   Sam
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] ch-upper? recent meaning change

2010-10-08 Thread Samuel Tardieu
In change 2ef2372c87d3657ac0964c5f4e1ddfd5b28cf029 from last Wednesday,
ch-upper? and ch-lower? were moved from unicode.case to ascii. The
definition of ch-upper? is:

: ch-upper? ( ch -- ? ) dup ch>upper = ;

but the ch>upper now used is the one from ascii instead of the one from
unicode.data.

Before the change, we had:

( scratchpad ) CHAR: é ch-upper? . CHAR: É ch-upper? .
f
t

while now we have:

( scratchpad ) CHAR: é ch-upper? . CHAR: É ch-upper? .
t
t

which is obviously incorrect for é.

It would probably be better to keep both versions (ascii and unicode.case)
if we want ascii not to depend on unicode, or to drop the one in ascii as
well as all the related words.

  Sam
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk