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
4
Task/Even-or-odd/8th/even-or-odd-1.8th
Normal file
4
Task/Even-or-odd/8th/even-or-odd-1.8th
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
: odd? \ n -- boolean
|
||||
dup 1 n:band 1 n:= ;
|
||||
: even? \ n -- boolean
|
||||
odd? not ;
|
||||
4
Task/Even-or-odd/8th/even-or-odd-2.8th
Normal file
4
Task/Even-or-odd/8th/even-or-odd-2.8th
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
: even? \ n -- f
|
||||
1 n:band not ;
|
||||
: odd? \ n -- f
|
||||
even? not ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue