tuple.lua

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

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

Update markdown; now Lua 5.3 compatible


--@module tuple
local tuple={}

function tuplefst(a, b)
    return a
end

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

return tuple

mercurial