lean4-htt/src/Init/Control
Sebastian Ullrich 01dbbeed99
feat: do not export def bodies by default (#8221)
This PR adjusts the experimental module system to not export the bodies
of `def`s unless opted out by the new attribute `@[expose]` on the `def`
or on a surrounding `section`.

---------

Co-authored-by: Markus Himmel <markus@lean-fro.org>
2025-05-15 12:16:54 +00:00
..
Lawful feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
Basic.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
EState.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Except.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
ExceptCps.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
Id.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
Lawful.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
Option.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
Reader.lean feat: enable experimental module system in Init (#8047) 2025-04-23 17:21:33 +00:00
State.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
StateCps.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
StateRef.lean feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00