tuple.lua

Fri, 24 Jan 2025 13:27:45 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 24 Jan 2025 13:27:45 +0100
changeset 44
5700ebe9277b
parent 35
2f927eae429b
permissions
-rw-r--r--

Fix directory creation, as lfs doesn't do all leaves like the old approach.


--@module tuple
local tuple={}

function tuple.fst(a, b)
    return a
end

function tuple.snd(a, b)
    return b
end

return tuple

mercurial