Ad
  • Default User Avatar

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

  • Default User Avatar

    why: foldr (+) 0 fails!

    it doesn't pass this test case:

    should work for an arbitrary list of Doubles

    Falsifiable (after 9 tests):
    [-1.849387446457596,8.988142271287629,-5.452834988829937,-2.11 ..]