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
13
Task/Function-composition/LFE/function-composition-2.lfe
Normal file
13
Task/Function-composition/LFE/function-composition-2.lfe
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
> (funcall (compose #'math:sin/1 #'math:asin/1)
|
||||
0.5)
|
||||
0.49999999999999994
|
||||
> (funcall (compose `(,#'math:sin/1
|
||||
,#'math:asin/1
|
||||
,(lambda (x) (+ x 1))))
|
||||
0.5)
|
||||
1.5
|
||||
> (check)
|
||||
Expected answer: 0.49999999999999994
|
||||
Answer with compose: 0.49999999999999994
|
||||
ok
|
||||
>
|
||||
Loading…
Add table
Add a link
Reference in a new issue