LDC-E1113 — A package cannot claim a standard-library name
For LLMs5 sections
What it means
Section titled “What it means”The standard-library namespace belongs to the language, not to any
authored package: its dictionary arrives with the language release and
is declared by the language catalogue. A package that names itself
law.std or anything under it would shadow that shared dictionary for
every consumer at once, so the compiler stops at the package line.
The repair is a rename: pick a name outside the standard space. The standard types stay reachable under their usual qualified spellings no matter what the package is called.
Example
Section titled “Example”language "law.core" version "0.2";package law.std.time version "0.2.0";namespace "urn:law:demo:diagnostics";
entity Applicant;language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Applicant;Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.