I to need modify the values {place} and {other_place} in the op record.

#op{
    action   = [walk, from, {place}, to, {other_place}],
    preconds = [[at, {place}, me], [on, floor, me], 
                [other_place, {place}, {other_place}]],
    add_list = [[at, {other_place}, me]],
    del_list = [[at, {place}, me]]
}

But erlang don“t allow modifying variables. Is there a data type for that?

Edit
Report