local P={}function P.seed(P)P=P or Time()math.randomseed(P)return P end return P
--- Random helpers.
-- @module invokation.lang.random
local M = {}

--- Seeds random generation.
-- @tparam[opt=Time()] int seed Seed value
-- @treturn int Seed number
function M.seed(seed)
  seed = seed or Time()
  math.randomseed(seed)
  return seed
end

return M
