Reordered some of the functions in the AsyncSeq module; the non-async functions are now grouped together near the bottom.
Minor cleanup (added a few type annotations to hide implementation details of AsyncSeq, and changed some parameter names).