Ad
  • Default User Avatar

    there is 103 between these numbers

  • Custom User Avatar

    The primes need to be consecutive. I also fell for this trap 😝

  • Custom User Avatar

    Read the description again, that exact case is explained there, in the examples.

  • Custom User Avatar

    They are the arguments of the function, like in any other program (python def f(xs):). But sometimes it is possible to not write them, like here, if we can write the code in pure terms of functions combinations. It's hard to explain clearly (and I'm far from being comfortable in Haskell) but try to practice on easy katas and look at others solutions, try to reuse them... With Haskell installed on your computer you can run a very handy interpreter that allows to do tiny tests easily.