On 10/2/2014 16:03, Elizabeth Mattijsen wrote:
On 01 Oct 2014, at 07:48, Father Chrysostomos 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
On 01 Oct 2014, at 07:48, Father Chrysostomos 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 specs t
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: aadf0589905c9d76488fd81f738201d12f6d9eeb
https://github.com/perl6/specs/commit/aadf0589905c9d76488fd81f738201d12f6d9eeb
Author: Elizabeth Mattijsen
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 66edfbe68aef73cf34482e8f8a7508f51c3de087
https://github.com/perl6/specs/commit/66edfbe68aef73cf34482e8f8a7508f51c3de087
Author: L. Grondin
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed paths:
M S32-set
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: e83a759a09acf8838cefd5b4b0e7a421fa1414e7
https://github.com/perl6/specs/commit/e83a759a09acf8838cefd5b4b0e7a421fa1414e7
Author: Elizabeth Mattijsen
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: f11c62c8168ff39d40c355c98f4d4c69a33a3c92
https://github.com/perl6/specs/commit/f11c62c8168ff39d40c355c98f4d4c69a33a3c92
Author: Elizabeth Mattijsen
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: b89831bcc08db79b28a430a5a5f334a286ff735e
https://github.com/perl6/specs/commit/b89831bcc08db79b28a430a5a5f334a286ff735e
Author: L. Grondin
Date: 2014-10-01 (Wed, 01 Oct 2014)
Changed paths:
M S32-set
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 implem