see Apocalypse 6my sub thingie is rw { return my $var is Proxy( for => $hidden_var, FETCH => { ... }, STORE => { ... }, TEMP => { ... }, ... ); }
But I'm not sure if it is really faster than what we already have in modules like Contextual::Return.
Depends on how fast ties are realised in p6...
In reply to Re^4: A tale about accessors, lvalues and ties
by LanX
in thread A tale about accessors, lvalues and ties
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |