lua-users home
lua-l archive

[proposal] limit(n, ...)

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


it'd be nice to have a limit() function companion to select() where select skips the first n and limit skips everything after n.

e.g. limit(1) --> nothing, limit(1, 1, 2, 3) --> 1, etc

AltStyle によって変換されたページ (->オリジナル) /