tuple.lua

changeset 7
038275cd92ed
parent 2
3975fa5ed630
child 35
2f927eae429b
--- a/tuple.lua	Sun May 07 20:02:53 2017 +0100
+++ b/tuple.lua	Tue Jan 16 16:39:48 2018 +0000
@@ -1,10 +1,13 @@
 
-module("tuple")
+--@module tuple
+local tuple={}
 
-function fst(a, b)
+function tuplefst(a, b)
     return a
 end
 
-function snd(a, b)
+function tuple.snd(a, b)
     return b
 end
+
+return tuple

mercurial