[Versa] Issue 100A proposal, extension functions

Michael Olson Mike.Olson at fourthought.com
Sun Sep 4 11:27:08 MDT 2005


On Sep 4, 2005, at 8:59 AM, Chimezie Ogbuji wrote:

>>
>> I like this, plus it solves the issue of adding all of the functions
>> like "rdf:type()" etc.
>
> Yup.. don't need class (covered by rdf:type(member)) or value (covered
> by rdf:value(res)).  Though I think rdf-list and rdf-container are
> still needed to cast RDF sets/lists to versa sets and lists,
> especially since we have no literal representation for sets/list, we
> mostly use the list/set functions.  These two functions probably need
> a section describing their use as constructors, they aren't listed in
> the function section.

No, I didn't get to them yet.  I'm just trying to flush out the syntax  
for 2.0

>
>>
>> Should we have processor produce a warning?
>
> I'm not sure, I guess it depends on if the processor thinks using
> functions this way has an ill-effect in some way or just that the user
> should be aware of it.  I can imagine using them much more often than
> the forward traversal operator equivalents, so would I expect a
> warning raised everytime I do? I'm thinking maybe it should be left up
> to the implementation to decide.

I think it more that I picture myself as a user of this language, and  
one day I forget to define a function and my results are 100% different  
then I expected.  It would be nice to have a logging (like CWM) or  
something facility to let the user know what is going on.

Maybe it is part of the context definitions

logging = 'on'

or something like that.

Mike


> _______________________________________________
> Versa mailing list
> Versa at lists.fourthought.com
> http://lists.fourthought.com/mailman/listinfo/versa
>
------------------------------------------------------------------------ 
-----------------
Mike Olson                                                Principal  
Consultant
mike.olson at fourthought.com                +1 720 253 4662
Fourthought, Inc.                                       
http://Fourthought.com
PO Box 270590,                                       http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management




More information about the Versa mailing list