We can use unfoldr and uncons operations to convert one streaming type to another. See the following interoperation examples in the streamly-examples repository.
unfoldr
uncons
streaming
pipes
conduit
vector