Hi,

Would it be desirable to further define keywords such that it allows a  
special kind of namespacing.

* This could allow for more efficient (for the user) and targeted  
navigation over large, nested collections.
* It would allow for mixing related data that might need to be treated  
in different ways.
* It could provide the building blocks for a collection transformation  
language

For example:

:keyword or :nil:keyword - defines a keyword in a null namespace
   -- keeps backward compatibility
   -- equivalent to the XML element <foo/> (no namepsace defined)

::keyword - defines a namespaced keyword in a default namespace
   -- equivalent to the XML element <foo xmlns="http://some/namespace"/>

:myns:keyword - defines a namespaced keyword in a named namespace
   -- equivalent to the XML element <foo xmlns:myns="http://some/namespace 
"/>

Perhaps a requirement for this type of thing would be that the  
namespaces need to be declared on the root element of the (nested)  
collection.


what do you think?

best,
-Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to