Y
Hacker News
new
|
ask
|
show
|
jobs
by
hackyhacky
87 days ago
That wouldn't work because there would be nothing stopping you from re-using a value representing an old state.
1 comments
ridiculous_fish
87 days ago
That's exactly what affine / linear types do.
link