[Cuis] Ropes (functional strings)
Ken Dickey
Ken.Dickey at whidbey.com
Fri Feb 15 20:51:25 CST 2013
On Wed, 13 Feb 2013 17:49:26 +0000
"H. Hirzel" <hannes.hirzel at gmail.com> wrote:
> Congrats to this implementation, Ken
>
> In particular I like how you did
>
> Rope>>doesNotUnderstand:
I don't like to over-use #doesNotUnderstand, but it is totally cool. I don't know of another major language that lets me do thin.
In case you missed it, here is a new method in Color, which helps when changing color dictionaries:
Color>>doesNotUnderstand: aMessage
"Some code takes
Color colorNames
and does
Color perform: aColorname.
Make this work."
^(Color colorNamesDict)
at: (aMessage selector)
ifAbsent: [super doesNotUnderstand: aMessage]
8^)
Cheers,
-KenD
--
Ken Dickey <Ken.Dickey at whidbey.com>
More information about the Cuis
mailing list