tuple.lua

changeset 7
038275cd92ed
parent 2
3975fa5ed630
child 35
2f927eae429b
equal deleted inserted replaced
6:219d7a7304f8 7:038275cd92ed
1 1
2 module("tuple") 2 --@module tuple
3 local tuple={}
3 4
4 function fst(a, b) 5 function tuplefst(a, b)
5 return a 6 return a
6 end 7 end
7 8
8 function snd(a, b) 9 function tuple.snd(a, b)
9 return b 10 return b
10 end 11 end
12
13 return tuple

mercurial