úÎSN@Z      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYportable provisionalEdward Kmett <ekmett@gmail.com>2(Extract the first element of the stream .Extract the possibly empty tail of the stream 'Extract the last element of the stream 9Extract everything except the last element of the stream cons onto a stream Sort a stream (Converts an non-empty list to a stream. 'Convert a stream to a list efficiently Z"Lift list operations to work on a  stream map a function over a  stream !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. ## an item into a  $$ is similar to [%, but returns a stream of successive  reduced values from the left:  D scanl f z [x1, x2, ...] == z :| [z `f` x1, (z `f` x1) `f` x2, ...]  Note that & last (scanl f z xs) == foldl f z xs. %% is the right-to-left dual of $.  Note that & head (scanr f z xs) == foldr f z xs. && is a variant of $& that has no starting value argument: F scanl1 f [x1, x2, ...] == x1 :| [x1 `f` x2, x1 `f` (x2 `f` x3), ...] '' is a variant of %& that has no starting value argument. ()) f x produces the infinite sequence  of repeated applications of f to x. % iterate f x = [x, f x, f (f x), ..] ** xs$ returns the infinite repetition of xs: & cycle [1,2,3] = 1 :| [2,3,1,2,3,...] ++ a finite NonEmpty ,, x3 returns a constant stream, where all elements are  equal to x. -- n xs returns the first n elements of xs. Beware8: passing a negative integer as the first argument will  cause an error. .. n xs drops the first n elements off the front of  the sequence xs. Beware8: passing a negative integer as the first argument will  cause an error. // n xs, returns a pair consisting of the prefix of xs  of length n= and the remaining stream immediately following this prefix. Beware8: passing a negative integer as the first argument will  cause an error. 00 p xs* returns the longest prefix of the stream  xs for which the predicate p holds. 11 p xs$ returns the suffix remaining after  0 p xs. 22 p xs returns the longest prefix of xs that satisfies  p-, together with the remainder of the stream. 3The 3 p function is equivalent to 2 not . p. 44 p xs, removes any elements from xs that do not satisfy p. 5The 5 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. 6The 61 function takes a stream and returns a stream of A lists such that flattening the resulting stream is equal to the ; argument. Moreover, each sublist in the resulting stream - contains only equal elements. For example, b group $ cycle "Mississippi" = "M" : "i" : "ss" : "i" : "ss" : "i" : "pp" : "i" : "M" : "i" : ... 789:The isPrefix function returns True if the first argument is  a prefix of the second. ;xs !! n# returns the element of the stream xs at index  n0. Note that the head of the stream has index 0. Beware>: passing a negative integer as the first argument will cause  an error. <The <2 function takes two streams and returns a list of  corresponding pairs. =The = function generalizes <. Rather than tupling = the functions, the elements are combined using the function ! passed as the first argument to =. >The > function is the inverse of the < function. ?The ?/ function breaks a stream of characters into a 7 stream of words, which were delimited by white space. @The @% function is an inverse operation to ?. It % joins words with separating spaces. AThe A4 function breaks a stream of characters into a list @ of strings at newline characters. The resulting strings do not  contain newlines. BThe B% function is an inverse operation to A. It = joins lines, after appending a terminating newline to each. 1 !"#$%&'()*+,-./0123456789:;<=>?@AB1 ($%&'+!"),*#-./0123456789:;<=>?@AB1 !"#$%&'()*+,-./0123456789:;<=>?@ABportable provisionalEdward Kmett <ekmett@gmail.com>COption is effectively \ with a better instance of ], built off of an underlying U  instead of an underlying ]F. Ideally, this type would not exist at all and we would just fix the ] intance of \ DEFGHIUse DC (JI a) -- to get the behavior of Data.Monoid.Last JKLUse DC (ML a) -- to get the behavior of Data.Monoid.First MNOPQRSTUVWXY@This lets you use a difference list of a Semigroup as a Monoid. ) CDEFGHIJKLMNOPQRSTUVWXY)UVWRSTOPQLMNIJKFGH  CDEXYCDEDEFGHGHIJKJKLMNMNOPQPQRSTSTUVWVWXY^        !"#$%&'()*+,-./0123456789:;<=>?@ABBCDEFGGHIIJKKLMMNOPQRSTUVWXYZsemigroups-0.5.0Data.SemigroupData.List.NonEmptybase Data.MonoidgetDualDualappEndoEndogetAllAllgetAnyAnygetSumSum getProductProductNonEmpty:|unfoldnonEmptyunconsheadtaillastinit<|conssortfromListtoListmapinitstailsinsertscanlscanrscanl1scanr1 intersperseiteratecyclereverserepeattakedropsplitAt takeWhile dropWhilespanbreakfilter partitiongroupgroupBygroup1groupBy1 isPrefixOf!!zipzipWithunzipwordsunwordslinesunlinesOption getOption WrappedMonoid WrapMonoid unwrapMonoidLastgetLastFirstgetFirstMaxgetMaxMingetMin Semigroup<>sconcatoptiondifflift Data.Foldablefoldl Data.MaybeMaybeMonoid