
louise
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runRéussi#1199 · main · 10 min 33 s
1Étoiles
0Forks
0Issues
Use `use` for callbacks everywhere it applies
Every call whose last argument is a callback, in tail position of a
block, now reads `use x <- f(a)` followed by the callback's body; a
multi-line callback in the middle of a block gets its own block
`{ use x <- f(a) ... }`. Program output is unchanged on both backends.
The tutorial introduces `use` in its first example. UI tests keep their
lambdas, which they test on purpose.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Parents 2b9eba2
16 fichiers modifiés, 116 ajouts, 84 suppressions
docs/tutorial.md+8−4examples/http_demo/src/main.til+9−8examples/http_demo/test/app_test.til+3−1std/actor.til+3−2std/dict.til+7−6std/http.til+10−10std/supervisor.til+10−5tests/run/closures.til+2−1tests/run/effects.til+10−8tests/run/generators.til+9−10tests/run/process.til+3−2tests/run/regions.til+2−1tests/run/select.til+12−8tests/run/send.til+10−6tests/run/supervisor.til+12−8tests/run/unwinding.til+6−4