tuple.lua

Mon, 07 Sep 2020 09:15:21 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 07 Sep 2020 09:15:21 +0300
changeset 39
5fc5f93a8cad
parent 35
2f927eae429b
permissions
-rw-r--r--

less verbosity


--@module tuple
local tuple={}

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

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

return tuple

mercurial