Desk icon indicating copy to clipboard operation
Desk copied to clipboard

`ref` type and `mut` type

Open ryo33 opened this issue 3 years ago • 0 comments

'ref type is something like a Arc<T> and 'mut type is something like a Arc<Mutex<T>>.

Syntax

<'ref 'nat> 'ref 1
$ <'mut 'nat> 'mut 1;
// update the value
'mutate & 'mut 'nat & \ 'nat -> 'nat

ryo33 avatar Jan 10 '23 11:01 ryo33