<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Data.List.NonEmpty</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Data.List.NonEmpty</DIV ><DIV CLASS="mini-synopsis" ><H1 >The type of streams </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Data-List-NonEmpty.html#t%3ANonEmpty" TARGET="main" >NonEmpty</A > a</DIV > <H1 >non-empty stream transformations </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Amap" TARGET="main" >map</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aintersperse" TARGET="main" >intersperse</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ascanl" TARGET="main" >scanl</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ascanr" TARGET="main" >scanr</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ascanl1" TARGET="main" >scanl1</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ascanr1" TARGET="main" >scanr1</A ></DIV > <H1 >Basic functions </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ahead" TARGET="main" >head</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Atail" TARGET="main" >tail</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Alast" TARGET="main" >last</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ainit" TARGET="main" >init</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3A%3C%7C" TARGET="main" >(<|)</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Acons" TARGET="main" >cons</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Auncons" TARGET="main" >uncons</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Asort" TARGET="main" >sort</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Areverse" TARGET="main" >reverse</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ainits" TARGET="main" >inits</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Atails" TARGET="main" >tails</A ></DIV > <H1 >Building streams </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aiterate" TARGET="main" >iterate</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Arepeat" TARGET="main" >repeat</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Acycle" TARGET="main" >cycle</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aunfold" TARGET="main" >unfold</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Ainsert" TARGET="main" >insert</A ></DIV > <H1 >Extracting sublists </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Atake" TARGET="main" >take</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Adrop" TARGET="main" >drop</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AsplitAt" TARGET="main" >splitAt</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AtakeWhile" TARGET="main" >takeWhile</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AdropWhile" TARGET="main" >dropWhile</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aspan" TARGET="main" >span</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Abreak" TARGET="main" >break</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Afilter" TARGET="main" >filter</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Apartition" TARGET="main" >partition</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Agroup" TARGET="main" >group</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AgroupBy" TARGET="main" >groupBy</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Agroup1" TARGET="main" >group1</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AgroupBy1" TARGET="main" >groupBy1</A ></DIV > <H1 >Sublist predicates </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AisPrefixOf" TARGET="main" >isPrefixOf</A ></DIV > <H1 >Indexing streams </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3A%21%21" TARGET="main" >(!!)</A ></DIV > <H1 >Zipping and unzipping streams </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Azip" TARGET="main" >zip</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AzipWith" TARGET="main" >zipWith</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aunzip" TARGET="main" >unzip</A ></DIV > <H1 >Functions on streams of characters </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Awords" TARGET="main" >words</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aunwords" TARGET="main" >unwords</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Alines" TARGET="main" >lines</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3Aunlines" TARGET="main" >unlines</A ></DIV > <H1 >Converting to and from a list </H1 > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AfromList" TARGET="main" >fromList</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AtoList" TARGET="main" >toList</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-List-NonEmpty.html#v%3AnonEmpty" TARGET="main" >nonEmpty</A ></DIV ></DIV ></DIV ></BODY ></HTML >