On Tue, May 29, 2007 at 04:43:20PM -0400, Chas Owens wrote:
: Just an odd corner case, but
:    "foo" x -*
: should return an empty string and
:    "foo" xx -*
: should return an empty list, right?

I'm doubt &prefix:<->:(Whatever) is defined at all, so that's probably
a run-time failure unless someone defines the appropriate multi.
And if the - fails it never even gets to the x or xx.  The * token
doesn't mean infinity.  It means that the operator you feed it to
has to figure out what it means.  Some operators interpret * to mean
infinity.  But infix:<-> interprets a * on the left to mean the end
of the current subscript range.  And the range operator interprets *
to mean either negative or positive infinity depending on whether
it's on the left or the right.  We don't require (or even allow)
people to say -*..* as it currently stands.

Larry

Reply via email to