I'm making versions of a method for both
Sequence. All the objects I'm testing on are some form of
Collection, which means I use
AnySequence(x) any time I want to call the
Sequence version for testing. Is there an easier way like "
as Sequence" or "
x.(Sequence.myAwesomeMethod)(...)" or something else I missed?
I just want to avoid the hit of
AnySequence if I don't have to.