lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>function logmaker(a)
>  local loga = log(a)
>  return function(b)
>    return log(b) / %loga
>  end
>end

Thanks for the examples, I'll try to learn thinking more 'closurely' at the
first suitable project (I've found that actually using concepts in real
work makes them stick much better in one's mind).

  .Enrico.