|
|
||
|
> So, is there some support for Mark Hamburg's closure sugar in Rio ;) ?
Yes. Here we would write C(set, "values") for C:values and define C as
C = function (obj, met)
met = obj[met]
return function (...) return met(obj, ...) end
end
(I guess it works in other cities too ;)
-- Roberto