whole_func_string: function listFold(list, z, f, n) {
    if (n < list.length) {
      return f(list[n], function () {
        return listFold(list, z, f, n + 1);
      });
    } else {
      return z;
    }
  }
func_code_string: function listFold(list, z, f, n) {
    if (n < list.length) {
      return f(list[n], function () {
        return listFold(list, z, f, n + 1);
      });
    } else {
      return z;
    }
  }
func_documentation_string: - *fold : (seq : Seq a | Array a, z : b, f : (a, () → b) → b) : b* &mdash; polymorphic version of fold. Works with arrays too.