Jump to content
Wikipedia The Free Encyclopedia

Module:Sandbox/isaacl/ColourSpace/Tuple

From Wikipedia, the free encyclopedia
Module documentation[create] [purge]
You might want to create a documentation page for this Scribunto module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (edit | run) pages.
Add categories to the /doc subpage. Subpages of this module.
 local me = { }

 function me.display(tuple, separator)
 if ( separator == nil ) then
 separator = ', '
 end
 return table.concat(tuple, separator)
 end

 function me.clone(tuple)
 local newTuple = { }

 for idx, value in ipairs(tuple) do
 newTuple[idx] = value
 end
 return newTuple
 end

 return me

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