RDF.PrefixMap.new

You're seeing just the function new, go back to RDF.PrefixMap module for more information.

Specs

new() :: t()

Creates an empty RDF.PrefixMap.

Specs

new(t() | map() | keyword()) :: t()

Creates a new RDF.PrefixMap with initial mappings.

The initial prefix mappings can be passed as keyword lists or maps. The keys for the prefixes can be given as atoms or strings and will be normalized to atoms. The namespaces can be given as RDF.IRIs or strings and will be normalized to RDF.IRIs.