Skip to content

chore: Switch to module system#313

Merged
samuelburnham merged 3 commits intomainfrom
module-system
Feb 25, 2026
Merged

chore: Switch to module system#313
samuelburnham merged 3 commits intomainfrom
module-system

Conversation

@samuelburnham
Copy link
Member

@samuelburnham samuelburnham commented Feb 24, 2026

Switches to the module system, which separates public and private scope per https://lean-lang.org/doc/reference/latest/Source-Files-and-Modules/#module-scopes. I marked most library functions with public section to prevent breaking changes for now, but internal functions can be marked as private defs so they aren't exported to other modules or downstream.

Merge after argumentcomputer/Blake3.lean#30 and argumentcomputer/LSpec#74

@samuelburnham samuelburnham marked this pull request as ready for review February 24, 2026 21:52
arthurpaulino
arthurpaulino previously approved these changes Feb 25, 2026
lakefile.lean Outdated
Comment on lines 15 to 18
"https://github.com/argumentcomputer/LSpec" @ "8af53035cb61c061ba90282ba790301b943774ea"

require Blake3 from git
"https://github.com/argumentcomputer/Blake3.lean" @ "810365c0e34a3f72c9ca33bf9b2bd8270986342a"
"https://github.com/argumentcomputer/Blake3.lean" @ "021cbc62b1abc3a9c80d44ad9266aef39e8ff640"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder: these hashes will have to be updated after their respective PRs have been merged.

@samuelburnham samuelburnham merged commit 3408ab4 into main Feb 25, 2026
14 checks passed
@samuelburnham samuelburnham deleted the module-system branch February 25, 2026 17:28
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