reverse package:text

O(n) Reverse the characters of a Stream returning Text. Properties
reverse . stream = reverse
O(n) reverse t returns the elements of t in reverse order.
O(n) Perform the equivalent of scanr over a list, only with the input and result reversed. Properties
reverse . reverseScanr f c . reverseStream = scanr f c
O(n) Converts Text into a Stream Char, but iterates backwards through the text. Properties
unstream . reverseStream = reverse
O(1) Iterate one step backwards through a UTF-8 array, returning the current character and the delta to add (i.e. a negative number) to give the next offset to iterate at.
O(1) Iterate one step backwards through a UTF-8 array, returning the delta to add (i.e. a negative number) to give the next offset to iterate at.