bobbylisp/ref.hlm

2 lines
71 B
Plaintext

let by_ref = fn (&x: int) = *x + 1;
let by_value = fn (x: int) = x + 1;