lua-users home
lua-l archive

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

> > At the moment, sort seems to return nothing. Could it return its result
> > instead? This is useful for idioms such as
> > 
> > return sort (...)
> Our concern is that such idiom may lead users to forget that sort does
> its job in place.

Fair enough. I'm happy to have my own wrapper for sort which does
return the result (and I suppose I should also *not* sort in-place, so
that it is properly functional).

-- | art, n.  romanticized mundanity