Skip to content

feat: openkal 0.2.0 and openkal-linux 0.2.0 — the specification owns the interface - #221

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/openkal-0.2
Aug 19, 2026
Merged

feat: openkal 0.2.0 and openkal-linux 0.2.0 — the specification owns the interface#221
Sunrisepeak merged 1 commit into
mainfrom
feat/openkal-0.2

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

The specification now owns the interface. Version 0.1 placed the module a
consumer imports under the control of the implementation: the specification
package provided openkal.decl. and the implementation re-exported it as
openkal.. That contradicts what a specification is for, and it made the
name a consumer relies upon the property of a party the specification does not
govern.

consumer --imports--> openkal <--imports-- implementation
     |                                          |
     +------------ links against ---------------+

An implementation now contributes definitions and exports no module. It imports
the same interface a consumer imports, because it needs the declarations it is
defining.

The earlier arrangement existed to support detection of optional operations
through argument-dependent lookup, which requires an implementation's
declarations to be visible to the consumer. Version 0.1 defined no optional
operation, so the mechanism served nothing that existed, and clause 6.3 now
records the alternatives and the measurements that constrain them.

0.1.0 is replaced rather than retained. Two incompatible specifications under
one name would be worse than the absence of the earlier one, which no project
uses.

The specification now owns the interface. Version 0.1 placed the module a
consumer imports under the control of the implementation: the specification
package provided openkal.decl.<name> and the implementation re-exported it as
openkal.<name>. That contradicts what a specification is for, and it made the
name a consumer relies upon the property of a party the specification does not
govern.

    consumer --imports--> openkal <--imports-- implementation
         |                                          |
         +------------ links against ---------------+

An implementation now contributes definitions and exports no module. It imports
the same interface a consumer imports, because it needs the declarations it is
defining.

The earlier arrangement existed to support detection of optional operations
through argument-dependent lookup, which requires an implementation's
declarations to be visible to the consumer. Version 0.1 defined no optional
operation, so the mechanism served nothing that existed, and clause 6.3 now
records the alternatives and the measurements that constrain them.

0.1.0 is replaced rather than retained. Two incompatible specifications under
one name would be worse than the absence of the earlier one, which no project
uses.
@Sunrisepeak
Sunrisepeak merged commit 2d514b2 into main Aug 19, 2026
8 checks passed
@Sunrisepeak
Sunrisepeak deleted the feat/openkal-0.2 branch August 19, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants