Skip to content

style: apply the signature layout - #61

Merged
jonaprieto merged 6 commits into
mainfrom
style/signature-layout
Sep 19, 2026
Merged

jonaprieto merged 6 commits into
mainfrom
style/signature-layout

Conversation

@jonaprieto

@jonaprieto jonaprieto commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

No description provided.

@jonaprieto jonaprieto added the chore Maintenance work label Sep 18, 2026
@jonaprieto jonaprieto self-assigned this Sep 18, 2026
@jonaprieto
jonaprieto force-pushed the style/signature-layout branch from b94adb7 to 889de58 Compare September 18, 2026 21:17
Comment thread cli/Cli.lean Outdated
Comment thread cli/Cli.lean Outdated
Whitespace-only: one binder per line, leading colon, split
premises. No token stream changes.
Headers with no binders and a single-operand type stay on one line,
declarations inside docstrings and string literals are left alone,
declarations whose body opens with `do` are converted rather than
skipped, and no conversion pushes a line past the wrap column.
:= and := by now sit on their own line at indent 4, like where,
instead of trailing the last operand of the ascribed type.
Comment each anonymous input in a curried arrow type with a short
noun phrase derived from the pattern-match names and docstrings.
Attributes join modifiers above the keyword line, a body that trailed a
multi-line header moves below it, and a type with no operator to split
at keeps the author's own line breaks.
@jonaprieto
jonaprieto force-pushed the style/signature-layout branch from 1d6bc05 to 4467466 Compare September 19, 2026 05:28
@jonaprieto
jonaprieto changed the base branch from chore/release-v4.0.10-pr to main September 19, 2026 05:28
@jonaprieto
jonaprieto marked this pull request as ready for review September 19, 2026 05:43
@jonaprieto jonaprieto closed this Sep 19, 2026
@jonaprieto jonaprieto reopened this Sep 19, 2026
@jonaprieto
jonaprieto merged commit 1616915 into main Sep 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant