👉 In computer science, a canonical definition is a definition that can be interpreted in any context. It must not depend on specific values or parameters and should have no ambiguity. Examples of canonical definitions include:
The length of an integer (e.g., 42) is equal to the length of its representation as a string (e.g., "42").
A function that returns a list of numbers is called a canonical definition if it can be interpreted in any context.
A common