Log

util/iterators.lua @ 13073:9e5802b45b9e

description author age
util.iterators: join: Work even with only a single iterator in the chain Matthew Wild Thu, 06 Oct 2022 18:34:40 +0100
compat: Use table.pack (there since Lua 5.2) over our util.table Kim Alvefur Mon, 11 Jul 2022 19:15:24 +0200
compat: Remove handling of Lua 5.1 location of 'unpack' function Kim Alvefur Mon, 11 Jul 2022 19:07:38 +0200
util.iterators: Use pack from table.pack Kim Alvefur Sat, 08 Dec 2018 16:36:05 +0100
util.iterators: Add sorted_pairs() method Matthew Wild Fri, 21 Sep 2018 14:27:46 +0100
util.iterators: Add join() method and tests Matthew Wild Fri, 18 May 2018 14:57:39 +0100
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck] Kim Alvefur Fri, 10 Nov 2017 17:47:11 +0100
util.iterators: Add iterator wrapper that works like select(n, ...) applied to original iterator Kim Alvefur Fri, 15 Apr 2016 13:20:31 +0200
util.iterators: Normalize indentation Kim Alvefur Wed, 13 Apr 2016 20:00:41 +0200
util.iterators: Fix use of incorrect variable accidentally introduced in a9ef93bc81d9 Matthew Wild Mon, 21 Mar 2016 21:04:14 +0000
util.iterators: Variable renaming to avoid shadowing [luacheck] Matthew Wild Thu, 10 Mar 2016 17:52:57 +0000
util.iterators: Return initial var from upstream iterator [luacheck] Matthew Wild Thu, 10 Mar 2016 17:49:46 +0000
util.iterators: Don't replace var, as we should preserve var from the original iterator [luacheck] Matthew Wild Thu, 10 Mar 2016 17:48:53 +0000
util.iterators: Use table.pack() on Lua 5.2 Kim Alvefur Mon, 22 Feb 2016 17:43:40 +0100
util.iterators: Localize unpack() in Lua 5.2 compatible way Kim Alvefur Mon, 22 Feb 2016 17:38:46 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.iterators: Small fix for variable scoping issue Matthew Wild Fri, 17 May 2013 08:42:21 +0100
util.iterators: Add filter() to run results through a filter function Matthew Wild Fri, 17 May 2013 08:31:03 +0100
util.iterators: Various fixes and improvements, primarily use pack() where it should be used. Matthew Wild Fri, 17 May 2013 08:30:28 +0100
util.iterators: Add ripairs() (ipairs() in reverse) (thanks Maranda) Matthew Wild Fri, 12 Apr 2013 00:44:49 +0100
util.iterators: Make a standard library (no longer injects into global namespace) Matthew Wild Mon, 23 Jan 2012 00:00:10 +0000
util.iterators: it2table: Fix variable name Matthew Wild Wed, 07 Dec 2011 05:17:39 +0000
util.iterators: Add range(from, to) Matthew Wild Sun, 25 Sep 2011 00:20:43 +0100
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
util.iterators: Add skip() to skip the first n items of an iterator Matthew Wild Tue, 20 Jul 2010 12:37:28 +0100
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
util.iterators: Add tail() iterator, to return the last n items Matthew Wild Mon, 10 Aug 2009 15:46:34 +0100
util.iterators: Add head() iterator, to return the first n items Matthew Wild Mon, 10 Aug 2009 15:07:32 +0100
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
util.iterators: New iterators library Matthew Wild Wed, 25 Mar 2009 03:01:10 +0000