20 lines
2.7 KiB
HTML
20 lines
2.7 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>split-0.2.2: Combinator library for splitting lists.</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
|
window.onload = function () {pageLoad();};
|
|
//]]>
|
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">split-0.2.2: Combinator library for splitting lists.</p></div><div id="content"><div id="description"><h1>split-0.2.2: Combinator library for splitting lists.</h1><div class="doc"><p>A collection of various methods for splitting
|
|
lists into parts, akin to the "split" function
|
|
found in several mainstream languages. Here is
|
|
its tale:</p><p>Once upon a time the standard <a href="file:///usr/local/Cellar/ghc/7.10.1/share/doc/ghc/html/libraries/base-4.8.0.0/Data-List.html">Data.List</a> module
|
|
held no function for splitting a list into parts
|
|
according to a delimiter. Many a brave
|
|
lambda-knight strove to add such a function, but
|
|
their striving was in vain, for Lo, the Supreme
|
|
Council fell to bickering amongst themselves what
|
|
was to be the essential nature of the One True
|
|
Function which could cleave a list in twain (or
|
|
thrain, or any required number of parts).</p><p>And thus came to pass the split package,
|
|
comprising divers functions for splitting a list
|
|
asunder, each according to its nature. And the
|
|
Supreme Council had no longer any grounds for
|
|
argument, for the favored method of each was
|
|
contained therein.</p><p>To get started, see the <a href="Data-List-Split.html">Data.List.Split</a> module.</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Data</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">List</span><ul id="section.n.1.1" class="show"><li><span class="module"><span id="control.n.1.1.1" class="collapser" onclick="toggleSection('n.1.1.1')"> </span><a href="Data-List-Split.html">Data.List.Split</a></span><ul id="section.n.1.1.1" class="show"><li><span class="module"><a href="Data-List-Split-Internals.html">Data.List.Split.Internals</a></span></li></ul></li></ul></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html> |