tuple.lua

changeset 35
2f927eae429b
parent 7
038275cd92ed
equal deleted inserted replaced
34:4c7122a505d4 35:2f927eae429b
1 1
2 --@module tuple 2 --@module tuple
3 local tuple={} 3 local tuple={}
4 4
5 function tuplefst(a, b) 5 function tuple.fst(a, b)
6 return a 6 return a
7 end 7 end
8 8
9 function tuple.snd(a, b) 9 function tuple.snd(a, b)
10 return b 10 return b

mercurial