How to check whether a sequence contains a given subsequence?

No, but my proposal and future PR exist :) count & contains

Feel free to use the implementation in the proposal, but it isn't optimized for Hashable types yet.

1 Like