Ad
  • Custom User Avatar

    This solution was a little bit mind-blowing for someone new to Clojure.

  • Custom User Avatar

    Thank you for a solution that actually makes it clear what's going on!

  • Custom User Avatar

    The normative way to use QuickCheck to test more general functions is test with multiple differently specialised functions.

    Sometimes kata do this - and with a more generalised function signature given, they have to. Sometimes they don't. Generally speaking, you should consider the given signature part of the task specifications, so it should not be too surprising you can't just change it ( sometimes, you can. that then probably is coincidental and not a design objective for the kata though ).

    When you don't give a signature, the compiler probably infers something specific enough to make tests work.

  • Custom User Avatar

    That's not how codewars works. You need to write function called 'multiply' and return (not print) the result.

  • Default User Avatar

    issues
    can not run input function

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution