Add examples
This commit is contained in:
parent
802d776f29
commit
4db27de0c9
6 changed files with 40 additions and 0 deletions
11
examples/func_def.tada
Normal file
11
examples/func_def.tada
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
module
|
||||
|
||||
function() true,
|
||||
function(arg) arg + 1,
|
||||
function{ arg } arg + 1,
|
||||
function foo() true,
|
||||
function foo(arg) arg + 1,
|
||||
function foo{ arg } arg + 1,
|
||||
|
||||
function() foo(),
|
||||
(function () foo)(),
|
||||
Loading…
Add table
Add a link
Reference in a new issue