RDF.XSD.Datatype.Primitive (RDF.ex v2.1.0)

View Source

Macros for the definition of primitive XSD datatypes.

Summary

Functions

Specifies the applicability of the given XSD facet on a primitive datatype.

Functions

def_applicable_facet(facet)

(macro)

Specifies the applicability of the given XSD facet on a primitive datatype.

For a facet with the name example_facet this requires a function

def example_facet_conform?(example_facet_value, literal_value, lexical) do

end

to be defined on the primitive datatype.