On 25.06.2007 16:53, Mark Watson wrote: > I am trying to write Ruby classes to model RDF, RDFS, and Owl, much > like SWCLOS does for Common Lisp: > > module Rdfs > ... > end > > x = Rdfs::Class.new(Rdfs::Label => "label_1") > > It would be nice to have a hack that would allow module names to start > with a lower case letter. Any ideas? You can't because module names must be constants and constants have to start with an uppercase letter. > It would also be good to be able to alias "::" to ":" so that I could > use a syntax like: > > rdfs:Label Hm, no idea whether there is a way although Ruby seems to accept the syntax: $ ruby -ce 'rdfs:Label' Syntax OK Kind regards robert