Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ https://semver.org/spec/v2.0.0.html[Semantic Versioning].

=== [Unreleased]

==== Proposal 0007: name the argument of `tokenOf` (2026-11-16)

* The sketch in `docs/proposals/0007-affine-grade-mode-record-borrow-axis.adoc`
now declares `tokenOf : (intent : OwnershipIntentV2) -> Maybe Nat`. The
type is unchanged. The old line read to the secret scanner as
`token...: <value>` and failed `scan / gitleaks` on every pull request.
The sketch was rechecked with Idris2 0.8.0 (`idris2 --check`) after the
edit.

==== Certificates about one access (2026-11-09)

* New module `Certified.idr`. Every witness in a `ProgressiveW` chain hides
Expand Down
10 changes: 5 additions & 5 deletions docs/proposals/0007-affine-grade-mode-record-borrow-axis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ consumption intent and with the grade / borrow / mode types above.

The sketch below is *not* part of the package and is not imported by
any module. It was typechecked with Idris2 0.8.0 against this tree on
2026-11-09 (`idris2 --check`, module placed beside `src/abi/`,
importing `TypedWasm.ABI.VerifierSpec`); it uses no `believe_me`,
`assert_total`, `postulate` or `assert_smaller`, under `%default
total`.
2026-11-09, and rechecked on 2026-11-16 (`idris2 --check`, module
placed beside `src/abi/`, importing `TypedWasm.ABI.VerifierSpec`); it
uses no `believe_me`, `assert_total`, `postulate` or `assert_smaller`,
under `%default total`.

[source,idris]
----
Expand Down Expand Up @@ -343,7 +343,7 @@ data OwnershipIntentV2 : Type where

||| The handle token an intent constrains, if any.
public export
tokenOf : OwnershipIntentV2 -> Maybe Nat
tokenOf : (intent : OwnershipIntentV2) -> Maybe Nat
tokenOf (Legacy (Consumes t)) = Just t
tokenOf (Legacy (Produces t)) = Just t
tokenOf (Legacy (Borrows _)) = Nothing
Expand Down
Loading