bobbylisp/ref.hlm

2 lines
75 B
Plaintext

let by_ref = fun (&x int) -> *x + 1;
let by_value = fun (x: int) -> x + 1;