Author: larry Date: Tue Jan 30 12:20:47 2007 New Revision: 13550 Modified: doc/trunk/design/syn/S09.pod
Log: Another idea for *+ vs *- in subscripts Modified: doc/trunk/design/syn/S09.pod ============================================================================== --- doc/trunk/design/syn/S09.pod (original) +++ doc/trunk/design/syn/S09.pod Tue Jan 30 12:20:47 2007 @@ -802,6 +802,12 @@ works... +Alternately, C<*+0> is the first element, and the subscript dwims +from the front or back depending on the sign. That would be more +symmetrical, but makes the idea of C<*> in a subscript a little more +distant from the notion of "all the keys", which would be a loss, +and potentially makes C<+*> not mean the number of keys. + Conjecture: we might provide a way to declare a modular subscript that emulates the dwimmery, perhaps by using a subset type: