view share/lua/5.2/luarocks/require.lua @ 12232:0124f9ed4c49 draft

<b_jonas> fetch /hackenv/bin/addwhatis https://hack.esolangs.org/get/bin/addwhatis
author HackEso <hackeso@esolangs.org>
date Thu, 05 Dec 2019 21:01:29 +0000
parents d137f631bad5
children
line wrap: on
line source

--- Retained for compatibility reasons only. Use luarocks.loader instead.
local require, pairs = require, pairs
module("luarocks.require")
for k,v in pairs(require("luarocks.loader")) do
   _M[k] = v
end