Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/Function-definition/Wart/function-definition-1.wart
Normal file
2
Task/Function-definition/Wart/function-definition-1.wart
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
def (multiply a b)
|
||||
a*b
|
||||
2
Task/Function-definition/Wart/function-definition-2.wart
Normal file
2
Task/Function-definition/Wart/function-definition-2.wart
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(multiply 3 4)
|
||||
=> 12
|
||||
2
Task/Function-definition/Wart/function-definition-3.wart
Normal file
2
Task/Function-definition/Wart/function-definition-3.wart
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(multiply 3 :a 4) # arg order doesn't matter here, but try subtract instead
|
||||
=> 12
|
||||
2
Task/Function-definition/Wart/function-definition-4.wart
Normal file
2
Task/Function-definition/Wart/function-definition-4.wart
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
def (multiply a b|by)
|
||||
(* a b)
|
||||
2
Task/Function-definition/Wart/function-definition-5.wart
Normal file
2
Task/Function-definition/Wart/function-definition-5.wart
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
multiply 3 :by 4
|
||||
=> 12
|
||||
Loading…
Add table
Add a link
Reference in a new issue