tuple.lua

Tue, 16 Jan 2018 17:02:29 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 16 Jan 2018 17:02:29 +0000
changeset 9
751216807683
parent 7
038275cd92ed
child 35
2f927eae429b
permissions
-rw-r--r--

Further lua5.3 compatibility fixes


--@module tuple
local tuple={}

function tuplefst(a, b)
    return a
end

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

return tuple

mercurial