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.
the important bit here is that "*" is nothing special in Clojure. It is just a function that happens to be built-in the standard library, but is otherwise a normal Clojure function. You can see it's source there: https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/core.clj#L1000-L1010
Thansk ! You could see it as an alias. You just have to realize that (defn abc [] ...) is shorthand for (def abc (fn [] ...)).
Clojure kata: looks like there is some weird input in a-test7
Test 7 expected: (= (in-array ur vr) rr) - actual: java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast to java.lang.String at java.lang.String.compareTo
There are not only strings passed in the test array, is this expected ?
Could someone explain how the results are obtained ? I can't figure out where the numbers come from. Are the numbers of the kernel supposed to be applied to a pixel or to a color component ? Where does the 63 value comes from ?
A year after, have you found what this message is about ? I am in the same situation right now.
This comment is hidden because it contains spoiler information about the solution
Hello, yes that was it (unintentionally). Thanks !
Hello, Sorry but I still get the same error, with the default code. But it is in fact only when running the tests, not when submiting !
I am getting an error with every test/submit I make, even the default one : java.lang.RuntimeException: EOF while reading, starting at line 6, compiling:(null:12:1)
At first I thaught it was a codewars bug, but only this kata seems affected. Did the code change recently ?
+1 would love a kata like that as well. Just out of curiosity, in which language was it in your CS course ?
I am a bit lost there. Could anyone point me in the right direction ? I have no idea where in the big output of "this" I have to look (or even if it's there)... I was hoping to be able to find something like a reference to the "addOne" function, but I have no idea of that is possible. Any hints ?
Hmm thank you guys I'm still on it. By the way, I note that even I can't see my comment.
This comment is hidden because it contains spoiler information about the solution
Could someone be kind enough and explain me (very roughly) what is happening here ? I can't seem to begin to wrap my head around it. Thanks !
Hey well that didn't prevent me from sloving it :) And I also found out later about the comments outside the functions so all is well. Thank you 1
Loading more items...