-- helpers.lua: require'd by init.lua via directory search path
local M = {}

function M.count_up(n)
    local parts = {}
    for i = 1, n do
        parts[#parts + 1] = tostring(i)
    end
    return table.concat(parts, ", ")
end

function M.format_sum(a, b)
    return string.format("%d + %d = %d", a, b, a + b)
end

return M
