Nov. 10, 2016
10:19 p.m.
you're right, should probably be case insensitive.
On 10 Nov 2016, at 23:14, Cyril Ferlicot D. <cyril.ferlicot@gmail.com> wrote:
Le 10/11/2016 à 23:09, Sven Van Caekenberghe a écrit :
[ :string | string size = string asSet size ] value: 'Pharo'.
true
[ :string | string size = string asSet size ] value: 'Pharoo'.
false
String>>#isIsogram ^ self size = self asSet size
?
'Pharop' size = 'Pharop' asSet size
true
Does it count? If upper-case counts you will need to do `^ self size = self asLowercase asSet size` :)
-- Cyril Ferlicot
2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France