tails package:Stream

The tails function takes a stream xs and returns all the suffixes of xs.