Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Iterator
(view source)
Revision as of 11:52, 8 October 2017
11 bytes added
,
7 years ago
m
no edit summary
Line 2:
Line 2:
-- more generic interface and compositions (filtering, grouping, mapping, sorting, etc.)
-- more generic interface and compositions (filtering, grouping, mapping, sorting, etc.)
-- prevent clients from infinite loops
-- prevent clients from infinite loops
−
−
local EquipmentData = require('Module:EquipmentData')
local Iterator = {}
local Iterator = {}
Line 34:
Line 32:
if predKey then
if predKey then
pred = function(e)
pred = function(e)
+
local EquipmentData = require('Module:EquipmentData')
local obj = EquipmentData(e)
local obj = EquipmentData(e)
return obj[predKey](obj)
return obj[predKey](obj)
がか
cssedit, gkautomate
7,064
edits