【文件属性】:
文件名称:lua-patch:向 Lua 添加各种补丁以启用更酷的功能(a la Python)
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-11 16:10:17
Lua
lua补丁
向 Lua 添加各种补丁以启用更酷的功能(a la Python)
local Patch = require ' lua_patch '
Patch. addPatch ( ' table-pop ' )
Patch. addPatch ( ' string-format ' )
-- or
Patch. addAllPatches ()
Patch. removePatch ( ' table-pop ' )
Patch. removePatch ( ' string-format ' )
-- or
Patch. removeAllPatches ()
Table.pop
同时从表中检索和删除项目
local Patch = require ' lua_patch '
Patch. addPatch ( ' table-pop ' )
local process_
【文件预览】:
lua-patch-master
----Snakefile(375B)
----dmc_lua()
--------lua_patch.lua(7KB)
----LICENSE(1KB)
----spec()
--------lua_patch_spec.lua(3KB)
----.gitignore(11B)
----README.md(1KB)