add(consumer) teal

This commit is contained in:
Aire-One 2022-01-30 15:17:30 +01:00
parent 5eb06ccafb
commit dac8260ea9
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +0,0 @@
local calculon = require "calculon"
print(calculon.add(1, 2))

View File

@ -0,0 +1,8 @@
local record Calculon
add: function(number, number):number
end
local _require = require
local calculon = _require("calculon") as Calculon
print(calculon.add(1, 2))

View File

@ -0,0 +1,4 @@
return {
build_dir = "build",
source_dir = "src",
}