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/Currying/Eero/currying-1.eero
Normal file
14
Task/Currying/Eero/currying-1.eero
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#import <stdio.h>
|
||||
|
||||
int main()
|
||||
|
||||
addN := (int n)
|
||||
int adder(int x)
|
||||
return x + n
|
||||
return adder
|
||||
|
||||
add2 := addN(2)
|
||||
|
||||
printf( "Result = %d\n", add2(7) )
|
||||
|
||||
return 0
|
||||
12
Task/Currying/Eero/currying-2.eero
Normal file
12
Task/Currying/Eero/currying-2.eero
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#import <stdio.h>
|
||||
|
||||
int main()
|
||||
|
||||
addN := (int n)
|
||||
return (int x | return x + n)
|
||||
|
||||
add2 := addN(2)
|
||||
|
||||
printf( "Result = %d\n", add2(7) )
|
||||
|
||||
return 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue