Some ideas for functional streams using futures.