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.
oh damn ive learned so much from doing this, thx y all
You could do ".digits.reverse" instead of ".to_s.chars" too! :D
You wouldn't need to convert them back to integers later on if you do that.
or .split('')
ah i cant believe i forgot
chars
! love that oneI re-did the Kata and wrote a solution that has to look at each item in
list
exactly once.Yes, actually. I think that'd be great. You can check for exists as a start. :)
Also, I think some test cases in the kata would help make it easier to understand the spec. "Implement a sqlite database with this in it" without test cases I think confuses some. :)
What I wrote works locally, but errors on CW. Can someone give me a hint?
/tmp/haskell114830-10-1iku8z7/Main.hs:21:18:
Ambiguous occurrence
Movie' It could refer to either
Main.Movie',defined at /tmp/haskell114830-10-1iku8z7/Main.hs:19:6
or
Movies.Movie', imported from
Movies' at /tmp/haskell114830-10-1iku8z7/Main.hs:17:1-13(and originally defined
at /tmp/haskell114830-10-1iku8z7/Movies.hs:(18,1)-(24,2))
This comment is hidden because it contains spoiler information about the solution
hmm, i think "get_value" is a bad name for the primary function, as you are asking to have a person both get AND set.