Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Haskell translation waiting for approval, please
https://www.codewars.com/kumite/662e6f30eda528006aca4392?sel=662e6f30eda528006aca4392
Nice. Something new for me. Hint: look up functions with double parentheses or currying functions.
Oh god:0
This kata only supports up to node 8 and the
??
operator was introduced in node 14.What is wrong?
I
m sure that my function works...
??- defines whether variable is defined, if this one doesn define so its takes value after
??` signIts too difficult for 7kyu
kata very good!
Duplicate of other "implement a currying function" katas.
Fixed.
Needs random test cases
I think, it's worth it to introduce edge cases like
calcualte(1)()
or evencalcualte(1)()
which should return0
orundefined
.Hello pitieu,
The sentence means, that the method/function can receive decimal numbers and if that would be the case then, it should return true only if the number (the decimal number that the method/function has received) is equal to its integer part and that integer part is odd.
About your other question with the decimal number, this should be the returned value of the method:
1.1 ->
false
7.7 ->
false
7.77 ->
false
1.01 ->
false
1.10 ->
false
1.12 ->
false
7.17 ->
false
This will return
true
1.0
-5.0
-9.00
Hope the answer could help you!
Have a good day.
But there is a honor restriction as well, IIRC.
You should clean up the description of the problem a little bit. I suggest something like:
You are writing a function that takes two sets of parameters of arbitrary length. The return value will be the sum of the values of all of the parameters.
Go to http://www.codewars.com/kata/new.
Loading more items...