Skip to content

Add Ltac2 Bool.to_string and Message.of_bool/of_list/of_option#22241

Open
JasonGross wants to merge 1 commit into
rocq-prover:masterfrom
JasonGross:ltac2-message-printers
Open

Add Ltac2 Bool.to_string and Message.of_bool/of_list/of_option#22241
JasonGross wants to merge 1 commit into
rocq-prover:masterfrom
JasonGross:ltac2-message-printers

Conversation

@JasonGross

Copy link
Copy Markdown
Member

[Written by Claude (Fable 5) via Claude Code, on behalf of @JasonGross; extracted from a larger Ltac2 utility library. One of a series of small independent Ltac2 stdlib additions.]

Adds basic printers: Bool.to_string, and Message.of_bool, Message.of_list_with_sep, Message.of_list (separator "; "), Message.of_option (printing Some followed by the element, or None).

Design note: the isolated decision — spanning all of these, which is why they travel together — is the shape: Message.of_* functions (chosen here, matching the existing of_int/of_string/...) vs Printf %a-style combinators. Implemented with plain recursion so Message.v only gains a dependency on Ltac2.Bool.

🤖 Generated with Claude Code

https://claude.ai/code/session_019ttctspSoVoquHLQtbPVZw

@coqbot-app coqbot-app Bot added the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label Jul 8, 2026
@JasonGross JasonGross force-pushed the ltac2-message-printers branch from b9ac959 to 3dd425c Compare July 8, 2026 18:17
@JasonGross JasonGross marked this pull request as ready for review July 9, 2026 02:05
@JasonGross JasonGross requested a review from a team as a code owner July 9, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant