logoalt Hacker News

1f60cyesterday at 11:29 AM0 repliesview on HN

> a "state" keyword for declaring variables in a "stateful" function

Raku (née Perl 6) has this! https://docs.raku.org/language/variables#The_state_declarato...