grain
grain copied to clipboard
allow parameters to be marked as mutable
allow function paramters to be marked as mutable syntax example being
let t = (mut str) => {
str += 1
str
}
The semantics of this would be equivlant to
let t = (str) => {
let mut str = str
str += 1
str
}