[plt-scheme] keywords (a backward-incompatible change)
Hello,
> Have you considered colon-suffixed keywords?
Smalltalk uses colon-suffix to provide parameter when calling a method.
For instance: myDictionary includesKey: aKey ifAbsent: [self error:
'key not found']
The receiver is myDictionary, the message is includesKey:ifAbsent:
and the arguments are aKey and [..]
I find this way of writing quite elegant...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.