Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
14
Task/Function-composition/Lingo/function-composition-4.lingo
Normal file
14
Task/Function-composition/Lingo/function-composition-4.lingo
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- in some movie script
|
||||
on asin (x)
|
||||
res = atan(sqrt(x*x/(1-x*x)))
|
||||
if x<0 then res = -res
|
||||
return res
|
||||
end
|
||||
|
||||
on double (x)
|
||||
return x*2
|
||||
end
|
||||
|
||||
on triple (x)
|
||||
return x*3
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue