isSuffixOf package:streamly

Returns True if the first stream is a suffix of the second. A stream is considered a suffix of itself.
>>> Stream.isSuffixOf (Stream.fromList "hello") (Stream.fromList "hello" :: SerialT IO Char)
True
Space: O(n), buffers entire input stream and the suffix. Pre-release Suboptimal - Help wanted.