wip(0.S3): packages and examples migrated again from their pre-0.S sources in one run
ludic migrate state packages <every example program> packages/ludic.lab/example/plate.ludic 1804 vars into 126 states, 64 into lets; 23498 edits in 460 files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5ffe50ed02
commit
19fcf60599
459 changed files with 17862 additions and 17603 deletions
|
|
@ -5,8 +5,8 @@
|
|||
import "bank"
|
||||
program FriendOf {
|
||||
friend module lab of bank
|
||||
entry {
|
||||
add(7)
|
||||
print(`{balance} {total()}`)
|
||||
entry (bank_st: mut BankState) {
|
||||
add(bank_st, 7)
|
||||
print(`{bank_st.balance} {total(bank_st)}`)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue