úÎ1J/¢     An infinite sequence. +Extract the first element of the sequence. 7Extract the sequence following the head of the stream. <Apply a function uniformly over all elements of a sequence. rThe unfold function is similar to the unfold for lists. Note there is no base case: all streams must be infinite.  f x) function produces the infinite sequence  of repeated applications of f to x. % iterate f x = [x, f x, f (f x), ..]  n xs returns the first n elements of xs.   n xs drops the first n( elements off the front of the sequence xs.   p xs* returns the longest prefix of the stream xs for which the predicate p holds.   p xs$ returns the suffix remaining after   p xs.   x< returns a constant stream, where all elements are equal to x.   xs$ returns the infinite repetition of xs: < cycle [1,2,3] = Cons 1 (Cons 2 (Cons 3 (Cons 1 (Cons 2 ...  p xs, removes any elements from xs that do not satisfy p. xs !! n# returns the element of the stream xs at index  n0. Note that the head of the stream has index 0. The G function takes two streams and returns a list of corresponding pairs. The  function is the inverse of the  function. The  function generalizes . Rather than tupling = the functions, the elements are combined using the function ! passed as the first argument to .  p xs returns the longest prefix of xs that satisfies  p., together with the remainder of the stream. The  p function is equivalent to  not . p. The @ function breaks a stream of characters into a stream of words, & which were delimited by white space. The % function is an inverse operation to . It % joins words with separating spaces. The 4 function breaks a stream of characters into a list @ of strings at newline characters. The resulting strings do not  contain newlines. The % function is an inverse operation to . It = joins lines, after appending a terminating newline to each. The isPrefix function returns True2 if the first argument is a prefix of the second. The  function takes a predicate p and a stream  xs>, and returns a pair of streams. The first stream corresponds  to the elements of xs for which p holds; the second stream  corresponds to the elements of xs for which p does not hold. The  function takes a stream xs and returns all the  finite prefixes of xs. The  function takes a stream xs and returns all the  suffixes of xs. The  function takes an integer n and a stream xs 2 | and returns a pair consisting of the prefix of xs of length  | n= and the remaining stream immediately following this prefix. The * converts a stream into an infinite list. The  converts an infinite list to a 8 stream. Passing a finite list will result in an error.             !" Stream-0.1 Data.StreamStreamConsheadtail interspersemapunfolditeratetakedrop takeWhile dropWhilerepeatcyclefilter!!zipunzipzipWithspanbreakwordsunwordslinesunlines isPrefixOf partitionsplitAt streamToList listToStreaminitstails