1--- Finds factorial of a number.
2-- @param value Number to find factorial.
3-- @return Factorial of number.
4local function factorial(value)
8 return value * factorial(value - 1)
12--- Joins a table of strings into a new string.
13-- @param table Table of strings.
14-- @param separator Separator character.
15-- @return Joined string.
16local function join(table, separator)
19 for index, value in ipairs(table) do
20 data = data .. value .. separator
23 data = data:sub(1, data:len() - 1)
32local b = join({ "l", "u", "a" }, ",")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list