sophia_api::ns

Macro ns_iri

Source
macro_rules! ns_iri {
    ($prefix:expr, $ident:ident) => { ... };
    ($prefix:expr, $ident:ident, $suffix:expr) => { ... };
}
Expand description

Create a term in a “namespace module”. In general, you should use the namespace! macro instead.

§Safety

This macro is conceptually unsafe, as it is never checked that the prefix IRI is a valid IRI reference.