Does ‘state’ govern ‘:=’ the way it governs ‘=’? In other words, just as this:
state $x = 1;
only assigns to $x once (per closure), does the same apply to this?
state $x := $y;
I can’t find anything in the specs that implies that it does.
The reason I ask is that I am currently
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: b89831bcc08db79b28a430a5a5f334a286ff735e
https://github.com/perl6/specs/commit/b89831bcc08db79b28a430a5a5f334a286ff735e
Author: L. Grondin grond...@yahoo.fr
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 66edfbe68aef73cf34482e8f8a7508f51c3de087
https://github.com/perl6/specs/commit/66edfbe68aef73cf34482e8f8a7508f51c3de087
Author: L. Grondin grond...@yahoo.fr
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: aadf0589905c9d76488fd81f738201d12f6d9eeb
https://github.com/perl6/specs/commit/aadf0589905c9d76488fd81f738201d12f6d9eeb
Author: Elizabeth Mattijsen l...@dijkmat.nl
Date: 2014-10-01 (Wed, 01 Oct 2014)
On 01 Oct 2014, at 07:48, Father Chrysostomos spr...@cpan.org wrote:
Does ‘state’ govern ‘:=’ the way it governs ‘=’? In other words, just as
this:
state $x = 1;
only assigns to $x once (per closure), does the same apply to this?
state $x := $y;
I can’t find anything in the
On 10/2/2014 16:03, Elizabeth Mattijsen wrote:
On 01 Oct 2014, at 07:48, Father Chrysostomos spr...@cpan.org wrote:
Does ‘state’ govern ‘:=’ the way it governs ‘=’? In other words, just as this:
state $x = 1;
only assigns to $x once (per closure), does the same apply to this?
state