<@U2E974ELT> can't you declare filter, etc as exte...
# coroutines
u
@elizarov can't you declare filter, etc as extensions on a generic subtype T of Source and have them return T?