---
title: "merge(with:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/publishers/merge6/merge(with:)"
---

# merge(with:)

## Declaration

```swift
func merge<P>(with other: P) -> Publishers.Merge7<A, B, C, D, E, F, P> where P : Publisher, F.Failure == P.Failure, F.Output == P.Output
```

## See Also

### Merging elements

- [merge(with:_:)](combine/publishers/merge6/merge(with:_:).md)
