code: function (arr, f) {
        for (var i = 0; i < arr.length; i++) {
          var r = f(arr[i], i);
          if (r.isSome()) {
            return r;
          }
        }
        return Option.none();
      }
docs: findMap :: ([a], (a, Int -> Option b)) -> Option b