Here is what I want to achieve:
I have a generic struct struct Future<Element> {} and another generic struct Response<T> {}. I want to write a method that is in extension for Future that is only valid when Element is Response<T>. It doesn't matter what T is. So here is the code:
extension Future where Element == Response { }
But swift compiler complains that Reference to generic type 'Response' requires arguments in <...>. Is there another way to achieve this in swift?