From 62f3df7dcb408fec62888338ab3df32c8687fb24 Mon Sep 17 00:00:00 2001 From: Marcel Otto Date: Sat, 12 Mar 2022 21:27:15 +0100 Subject: [PATCH] Add note about RDF as a vocabulary namespace --- lib/rdf/ns.ex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/rdf/ns.ex b/lib/rdf/ns.ex index 6c099b4..eb5229a 100644 --- a/lib/rdf/ns.ex +++ b/lib/rdf/ns.ex @@ -20,6 +20,11 @@ defmodule RDF.NS do @vocabdoc """ The RDF vocabulary. + Since this module has the same basename as the top-level module, you can't + alias it. Therefore, the top-level `RDF` module has delegators for all of the + property functions in this module, so you can use them directly on the + top-level module without an alias. + See """ defvocab RDF,