Skip to content

SimplicityHL standard library reference: fixes from documentation review - #111

Draft
schoen wants to merge 1 commit into
mainfrom
claude/review-stdlib
Draft

schoen wants to merge 1 commit into
mainfrom
claude/review-stdlib

Conversation

@schoen

@schoen schoen commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Verdict from /review-docs on docs/documentation/stdlib.md at 03ee9dd: Conditional pass (reference page; one accuracy fix applied here, the remaining findings need a human and are recorded outside this PR).

Changes:

  • Fix the signatures of the six no-argument current-input getters (get_explicit_current_amount, get_confidential_current_amount, get_explicit_current_asset_id_with_amount, get_confidential_current_asset_id_with_amount, get_explicit_current_asset_id, get_confidential_current_asset_id). The page showed them as taking a unit argument, (()); in simplicityhl-std 0.2.0 they take none, for example pub fn get_explicit_current_amount() -> u64. This matches how jets.md shows no-argument jets such as current_amount().

Note for the reviewer: the page is generated, and stdlib.json records these functions with input_type: "()", which stdlib.md.py renders as (()). A regeneration will reintroduce the error until the generator renders a unit input type as an empty argument list.


Prepared by Claude Code.

The get_*_current_* getters take no arguments in simplicityhl-std 0.2.0
(e.g. `pub fn get_explicit_current_amount() -> u64`), but the page showed
them as taking a unit argument, `(())`. The generator renders the JSON's
`input_type: "()"` that way, so a regeneration will reintroduce this until
stdlib.md.py is fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant