[Versa] DOT
Chimezie Ogbuji
chimezie at gmail.com
Tue Sep 27 15:04:12 MDT 2005
On 9/27/05, Michael Olson <Mike.Olson at fourthought.com> wrote:
> >
> > I think I like this better. we define (smaller names to cut down on
> > typing)
> >
> > $versa:statement
> > $versa:subject
> > $versa:predicate
> > $versa:object
> >
> > The last three are shortcuts onto the first.
> >
> > Then "." is defined as the appropriate value from the last three
> > variables
I'm not certain I follow how the use of "." is consistent from
everywhere else. I've been assuming that "." refers to the data type
associated with the query context (which could be: boolean, string,
resource, list, set). Having not promoted statements to first-class
Versa datatypes, I can see the need for a shortcut to access the
'current' statement. But what does that mean generally - if it is
used outside of traversal expressions? And if it's limited to
traversal expressions, doesn't that limit those shortcut variables?
Sounds to me like, either way you go those shortcuts don't behave
consistently with the language.
More information about the Versa
mailing list