This file is indexed.

/usr/share/doc/libghc-mono-traversable-doc/html/Data-Sequences.html is in libghc-mono-traversable-doc 1.0.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!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>Data.Sequences</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-Sequences.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Sequences.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">mono-traversable-1.0.1: Type classes for mapping, folding, and traversing monomorphic containers</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.Sequences</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Abstractions over sequential data structures, like lists and vectors.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> (<a href="Data-Sequences.html#t:Index">Index</a> seq), <a href="Data-MonoTraversable.html#t:GrowingAppend">GrowingAppend</a> seq) =&gt; <a href="#t:SemiSequence">SemiSequence</a> seq <span class="keyword">where</span><ul class="subs"><li><span class="keyword">type</span> <a href="#t:Index">Index</a> seq</li></ul></li><li class="src short"><a href="#v:singleton">singleton</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq</li><li class="src short"><span class="keyword">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> seq, <a href="Data-MonoTraversable.html#t:MonoTraversable">MonoTraversable</a> seq, <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> seq, <a href="Data-MonoTraversable.html#t:MonoPointed">MonoPointed</a> seq) =&gt; <a href="#t:IsSequence">IsSequence</a> seq <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:defaultFind">defaultFind</a> :: <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)</li><li class="src short"><a href="#v:defaultIntersperse">defaultIntersperse</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq</li><li class="src short"><a href="#v:defaultReverse">defaultReverse</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; seq</li><li class="src short"><a href="#v:defaultSortBy">defaultSortBy</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; seq -&gt; seq</li><li class="src short"><a href="#v:defaultSplitWhen">defaultSplitWhen</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; [seq]</li><li class="src short"><a href="#v:vectorSortBy">vectorSortBy</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v e =&gt; (e -&gt; e -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; v e -&gt; v e</li><li class="src short"><a href="#v:vectorSort">vectorSort</a> :: (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v e, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> e) =&gt; v e -&gt; v e</li><li class="src short"><a href="#v:defaultCons">defaultCons</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq</li><li class="src short"><a href="#v:defaultSnoc">defaultSnoc</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq</li><li class="src short"><a href="#v:tailDef">tailDef</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; seq</li><li class="src short"><a href="#v:initDef">initDef</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; seq</li><li class="src short"><a href="#v:splitElem">splitElem</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; [seq]</li><li class="src short"><a href="#v:splitSeq">splitSeq</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; [seq]</li><li class="src short"><a href="#v:replaceSeq">replaceSeq</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; seq -&gt; seq</li><li class="src short"><a href="#v:stripPrefix">stripPrefix</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> seq</li><li class="src short"><a href="#v:stripSuffix">stripSuffix</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> seq</li><li class="src short"><a href="#v:isPrefixOf">isPrefixOf</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isSuffixOf">isSuffixOf</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isInfixOf">isInfixOf</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:group">group</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; [seq]</li><li class="src short"><a href="#v:groupAll">groupAll</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; [seq]</li><li class="src short"><a href="#v:delete">delete</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq</li><li class="src short"><a href="#v:deleteBy">deleteBy</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq</li><li class="src short"><a href="#v:splitElemStrictBS">splitElemStrictBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>]</li><li class="src short"><a href="#v:stripPrefixStrictBS">stripPrefixStrictBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:stripSuffixStrictBS">stripSuffixStrictBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:splitSeqLazyBS">splitSeqLazyBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>]</li><li class="src short"><a href="#v:stripPrefixLazyBS">stripPrefixLazyBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:stripSuffixLazyBS">stripSuffixLazyBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:splitSeqStrictText">splitSeqStrictText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>]</li><li class="src short"><a href="#v:replaceSeqStrictText">replaceSeqStrictText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><a href="#v:splitSeqLazyText">splitSeqLazyText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>]</li><li class="src short"><a href="#v:replaceSeqLazyText">replaceSeqLazyText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></li><li class="src short"><a href="#v:sort">sort</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq</li><li class="src short"><span class="keyword">class</span> (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:IsString">IsString</a> t, <a href="Data-MonoTraversable.html#t:Element">Element</a> t ~ <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>) =&gt; <a href="#t:Textual">Textual</a> t <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:catMaybes">catMaybes</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> (f (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t)), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> f, <a href="Data-MonoTraversable.html#t:Element">Element</a> (f (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t)) ~ <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t) =&gt; f (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t) -&gt; f t</li><li class="src short"><a href="#v:sortOn">sortOn</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> o, <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> seq) =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; o) -&gt; seq -&gt; seq</li><li class="src short"><span class="keyword">class</span> (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> lazy, <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> strict) =&gt; <a href="#t:LazySequence">LazySequence</a> lazy strict | lazy -&gt; strict, strict -&gt; lazy <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:pack">pack</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; [<a href="Data-MonoTraversable.html#t:Element">Element</a> seq] -&gt; seq</li><li class="src short"><a href="#v:unpack">unpack</a> :: <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> mono =&gt; mono -&gt; [<a href="Data-MonoTraversable.html#t:Element">Element</a> mono]</li><li class="src short"><a href="#v:repack">repack</a> :: (<a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> a, <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> b, <a href="Data-MonoTraversable.html#t:Element">Element</a> a ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> b) =&gt; a -&gt; b</li><li class="src short"><span class="keyword">class</span> (<a href="Data-Sequences.html#t:Textual">Textual</a> textual, <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> binary) =&gt; <a href="#t:Utf8">Utf8</a> textual binary | textual -&gt; binary, binary -&gt; textual <span class="keyword">where</span><ul class="subs"></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> (<a href="Data-Sequences.html#t:Index">Index</a> seq), <a href="Data-MonoTraversable.html#t:GrowingAppend">GrowingAppend</a> seq) =&gt; <a id="t:SemiSequence" class="def">SemiSequence</a> seq <span class="keyword">where</span> <a href="src/Data-Sequences.html#SemiSequence" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a></code> was created to share code between <code><a href="Data-Sequences.html#t:IsSequence">IsSequence</a></code> and <code>NonNull</code>.</p><p><code>Semi</code> means <code>SemiGroup</code>
 A <code><a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a></code> can accomodate a <code>SemiGroup</code> such as <code>NonEmpty</code> or <code>NonNull</code>
 A Monoid should be able to fill out <code><a href="Data-Sequences.html#t:IsSequence">IsSequence</a></code>.</p><p><code><a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a></code> operations maintain the same type because they all maintain the same number of elements or increase them.
 However, a decreasing function such as filter may change they type.
 For example, from <code>NonEmpty</code> to '[]'
 This type-changing function exists on <code>NonNull</code> as <code>nfilter</code></p><p><code><a href="Data-Sequences.html#v:filter">filter</a></code> and other such functions are placed in <code><a href="Data-Sequences.html#t:IsSequence">IsSequence</a></code></p><p><em>NOTE</em>: Like <code><a href="Data-MonoTraversable.html#t:GrowingAppend">GrowingAppend</a></code>, ideally we'd have a <code>Semigroup</code> superclass
 constraint here, but that would pull in more dependencies to this package
 than desired.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Data-Sequences.html#v:intersperse">intersperse</a>, <a href="Data-Sequences.html#v:reverse">reverse</a>, <a href="Data-Sequences.html#v:find">find</a>, <a href="Data-Sequences.html#v:sortBy">sortBy</a>, <a href="Data-Sequences.html#v:cons">cons</a>, <a href="Data-Sequences.html#v:snoc">snoc</a></p></div><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a id="t:Index" class="def">Index</a> seq <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p><div class="doc"><p>The type of the index of a sequence.</p></div></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:intersperse" class="def">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:intersperse">intersperse</a></code> takes an element and intersperses that element between
 the elements of the sequence.</p><pre>&gt; <code><a href="Data-Sequences.html#v:intersperse">intersperse</a></code> ',' &quot;abcde&quot;
&quot;a,b,c,d,e&quot;
</pre></div><p class="src"><a id="v:reverse" class="def">reverse</a> :: seq -&gt; seq <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><div class="doc"><p>Reverse a sequence</p><pre>&gt; <code><a href="Data-Sequences.html#v:reverse">reverse</a></code> &quot;hello world&quot;
&quot;dlrow olleh&quot;
</pre></div><p class="src"><a id="v:find" class="def">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:find">find</a></code> takes a predicate and a sequence and returns the first element in
 the sequence matching the predicate, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if there isn't an element
 that matches the predicate.</p><pre>&gt; <code><a href="Data-Sequences.html#v:find">find</a></code> (== 5) [1 .. 10]
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> 5

&gt; <code><a href="Data-Sequences.html#v:find">find</a></code> (== 15) [1 .. 10]
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</pre></div><p class="src"><a id="v:sortBy" class="def">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><div class="doc"><p>Sort a sequence using an supplied element ordering function.</p><pre>&gt; let compare' x y = case <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#v:compare">compare</a></code> x y of LT -&gt; GT; EQ -&gt; EQ; GT -&gt; LT
&gt; <code><a href="Data-Sequences.html#v:sortBy">sortBy</a></code> compare' [5,3,6,1,2,4]
[6,5,4,3,2,1]
</pre></div><p class="src"><a id="v:cons" class="def">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><div class="doc"><p>Prepend an element onto a sequence.</p><pre>&gt; 4 `<code><a href="Data-Sequences.html#v:cons">cons</a></code>` [1,2,3]
[4,1,2,3]
</pre></div><p class="src"><a id="v:snoc" class="def">snoc</a> :: seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p><div class="doc"><p>Append an element onto a sequence.</p><pre>&gt; [1,2,3] `<code><a href="Data-Sequences.html#v:snoc">snoc</a></code>` 4
[1,2,3,4]
</pre></div></div><div class="subs instances"><p id="control.i:SemiSequence" class="caption collapser" onclick="toggleSection('i:SemiSequence')">Instances</p><div id="section.i:SemiSequence" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:1" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:1')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-754" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:1" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:2" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:2')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-623" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:2" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:3" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:3')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-813" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:3" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:4" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:4')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-692" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:4" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:5" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:5')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> [a]</span> <a href="src/Data-Sequences.html#line-544" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:5" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> [a] :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: [a] -&gt; [a] <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a]) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: [a] -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; [a] <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:6" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:6')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a)</span> <a href="src/Data-Sequences.html#line-607" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:6" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a)) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:7" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:7')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)</span> <a href="src/Data-Sequences.html#line-871" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:7" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:8" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:8')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)</span> <a href="src/Data-Sequences.html#line-938" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:8" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:9" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:9')"></span> <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Unbox">Unbox</a> a =&gt; <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)</span> <a href="src/Data-Sequences.html#line-1012" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:9" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:10" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:10')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Storable.html#t:Storable">Storable</a> a =&gt; <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)</span> <a href="src/Data-Sequences.html#line-1086" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:10" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SemiSequence:SemiSequence:11" class="instance expander" onclick="toggleSection('i:ic:SemiSequence:SemiSequence:11')"></span> <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> seq =&gt; <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq)</span> <a href="src/Data-Sequences.html#line-80" class="link">Source</a> <a href="#t:SemiSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:SemiSequence:SemiSequence:11" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-Sequences.html#t:Index">Index</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-Sequences.html#Index" class="link">Source</a> <a href="#t:Index" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:intersperse">intersperse</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq <a href="src/Data-Sequences.html#intersperse" class="link">Source</a> <a href="#v:intersperse" class="selflink">#</a></p><p class="src"><a href="#v:reverse">reverse</a> :: <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq <a href="src/Data-Sequences.html#reverse" class="link">Source</a> <a href="#v:reverse" class="selflink">#</a></p><p class="src"><a href="#v:find">find</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq)) <a href="src/Data-Sequences.html#find" class="link">Source</a> <a href="#v:find" class="selflink">#</a></p><p class="src"><a href="#v:sortBy">sortBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq <a href="src/Data-Sequences.html#sortBy" class="link">Source</a> <a href="#v:sortBy" class="selflink">#</a></p><p class="src"><a href="#v:cons">cons</a> :: <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq <a href="src/Data-Sequences.html#cons" class="link">Source</a> <a href="#v:cons" class="selflink">#</a></p><p class="src"><a href="#v:snoc">snoc</a> :: <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="Data-NonNull.html#t:NonNull">NonNull</a> seq) -&gt; <a href="Data-NonNull.html#t:NonNull">NonNull</a> seq <a href="src/Data-Sequences.html#snoc" class="link">Source</a> <a href="#v:snoc" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:singleton" class="def">singleton</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq <a href="src/Data-Sequences.html#singleton" class="link">Source</a> <a href="#v:singleton" class="selflink">#</a></p><div class="doc"><p>Create a sequence from a single element.</p><pre>&gt; <code><a href="Data-Sequences.html#v:singleton">singleton</a></code> <code>a</code> :: <code>String</code>
&quot;a&quot;
&gt; <code><a href="Data-Sequences.html#v:singleton">singleton</a></code> <code>a</code> :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a></code>
<code><a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#v:fromList">fromList</a></code> &quot;a&quot;
</pre></div></div><div class="top"><p class="src"><span class="keyword">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> seq, <a href="Data-MonoTraversable.html#t:MonoTraversable">MonoTraversable</a> seq, <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> seq, <a href="Data-MonoTraversable.html#t:MonoPointed">MonoPointed</a> seq) =&gt; <a id="t:IsSequence" class="def">IsSequence</a> seq <span class="keyword">where</span> <a href="src/Data-Sequences.html#IsSequence" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></p><div class="doc"><p>Sequence Laws:</p><pre><code><a href="Data-Sequences.html#v:fromList">fromList</a></code> . <code><a href="Data-MonoTraversable.html#v:otoList">otoList</a></code> = <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Category.html#v:id">id</a></code>
<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> (x &lt;&gt; y) = <code><a href="Data-Sequences.html#v:fromList">fromList</a></code> x &lt;&gt; <code><a href="Data-Sequences.html#v:fromList">fromList</a></code> y
<code><a href="Data-MonoTraversable.html#v:otoList">otoList</a></code> (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> x &lt;&gt; <code><a href="Data-Sequences.html#v:fromList">fromList</a></code> y) = x &lt;&gt; y
</pre></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:fromList" class="def">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> seq] -&gt; seq <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><div class="doc"><p>Convert a list to a sequence.</p><pre>&gt; <code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [<code>a</code>, <code>b</code>, <code>c</code>] :: Text
&quot;abc&quot;
</pre></div><p class="src"><a id="v:break" class="def">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; (seq, seq) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:break">break</a></code> applies a predicate to a sequence, and returns a tuple where
 the first element is the longest prefix (possibly empty) of elements that
 <em>do not satisfy</em> the predicate. The second element of the tuple is the
 remainder of the sequence.</p><p><code><code><a href="Data-Sequences.html#v:break">break</a></code> p</code> is equivalent to <code><code><a href="Data-Sequences.html#v:span">span</a></code> (<code>not</code> . p)</code></p><pre>&gt; <code><a href="Data-Sequences.html#v:break">break</a></code> (&gt; 3) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4,1,2,3,4] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
(fromList [1,2,3],fromList [4,1,2,3,4])

&gt; <code><a href="Data-Sequences.html#v:break">break</a></code> (&lt; <code>z</code>) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> &quot;abc&quot; :: <code>Text</code>)
(&quot;&quot;,&quot;abc&quot;)

&gt; <code><a href="Data-Sequences.html#v:break">break</a></code> (&gt; <code>z</code>) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> &quot;abc&quot; :: <code>Text</code>)
(&quot;abc&quot;,&quot;&quot;)
</pre></div><p class="src"><a id="v:span" class="def">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; (seq, seq) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:span">span</a></code> applies a predicate to a sequence, and returns a tuple where
 the first element is the longest prefix (possibly empty) that
 <em>does satisfy</em> the predicate. The second element of the tuple is the
 remainder of the sequence.</p><p><code><code><a href="Data-Sequences.html#v:span">span</a></code> p xs</code> is equivalent to <code>(<code><a href="Data-Sequences.html#v:takeWhile">takeWhile</a></code> p xs, <code><a href="Data-Sequences.html#v:dropWhile">dropWhile</a></code> p xs)</code></p><pre>&gt; <code><a href="Data-Sequences.html#v:span">span</a></code> (&lt; 3) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4,1,2,3,4] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
(fromList [1,2],fromList [3,4,1,2,3,4])

&gt; <code><a href="Data-Sequences.html#v:span">span</a></code> (&lt; <code>z</code>) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> &quot;abc&quot; :: <code>Text</code>)
(&quot;abc&quot;,&quot;&quot;)

&gt; <code><a href="Data-Sequences.html#v:span">span</a></code> (&lt; 0) <a href="[],[1,2,3]">1,2,3</a>
</pre></div><p class="src"><a id="v:dropWhile" class="def">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:dropWhile">dropWhile</a></code> returns the suffix remaining after <code><a href="Data-Sequences.html#v:takeWhile">takeWhile</a></code>.</p><pre>&gt; <code><a href="Data-Sequences.html#v:dropWhile">dropWhile</a></code> (&lt; 3) [1,2,3,4,5,1,2,3]
[3,4,5,1,2,3]

&gt; <code><a href="Data-Sequences.html#v:dropWhile">dropWhile</a></code> (&lt; <code>z</code>) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> &quot;abc&quot; :: <code>Text</code>)
&quot;&quot;
</pre></div><p class="src"><a id="v:takeWhile" class="def">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:takeWhile">takeWhile</a></code> applies a predicate to a sequence, and returns the
 longest prefix (possibly empty) of the sequence of elements that
 <em>satisfy</em> the predicate.</p><pre>&gt; <code><a href="Data-Sequences.html#v:takeWhile">takeWhile</a></code> (&lt; 3) [1,2,3,4,5,1,2,3]
[1,2]

&gt; <code><a href="Data-Sequences.html#v:takeWhile">takeWhile</a></code> (&lt; <code>z</code>) (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> &quot;abc&quot; :: <code>Text</code>)
&quot;abc&quot;
</pre></div><p class="src"><a id="v:splitAt" class="def">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; seq -&gt; (seq, seq) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:splitAt">splitAt</a></code> n se</code> returns a tuple where the first element is the prefix of
 the sequence <code>se</code> with length <code>n</code>, and the second element is the remainder of
 the sequence.</p><pre>&gt; <code><a href="Data-Sequences.html#v:splitAt">splitAt</a></code> 6 &quot;Hello world!&quot;
(&quot;Hello &quot;,&quot;world!&quot;)

&gt; <code><a href="Data-Sequences.html#v:splitAt">splitAt</a></code> 3 (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4,5] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
(fromList [1,2,3],fromList [4,5])
</pre></div><p class="src"><a id="v:unsafeSplitAt" class="def">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; seq -&gt; (seq, seq) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><a href="Data-Sequences.html#v:splitAt">splitAt</a></code>.</p></div><p class="src"><a id="v:take" class="def">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:take">take</a></code> n</code> returns the prefix of a sequence of length <code>n</code>, or the
 sequence itself if <code>n &gt; <code><a href="Data-MonoTraversable.html#v:olength">olength</a></code> seq</code>.</p><pre>&gt; <code><a href="Data-Sequences.html#v:take">take</a></code> 3 &quot;abcdefg&quot;
&quot;abc&quot;
&gt; <code><a href="Data-Sequences.html#v:take">take</a></code> 4 (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4,5,6] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
fromList [1,2,3,4]
</pre></div><p class="src"><a id="v:unsafeTake" class="def">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><a href="Data-Sequences.html#v:take">take</a></code>.</p></div><p class="src"><a id="v:drop" class="def">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:drop">drop</a></code> n</code> returns the suffix of a sequence after the first <code>n</code>
 elements, or an empty sequence if <code>n &gt; <code><a href="Data-MonoTraversable.html#v:olength">olength</a></code> seq</code>.</p><pre>&gt; <code><a href="Data-Sequences.html#v:drop">drop</a></code> 3 &quot;abcdefg&quot;
&quot;defg&quot;
&gt; <code><a href="Data-Sequences.html#v:drop">drop</a></code> 4 (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4,5,6] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
fromList [5,6]
</pre></div><p class="src"><a id="v:unsafeDrop" class="def">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><a href="Data-Sequences.html#v:drop">drop</a></code></p></div><p class="src"><a id="v:partition" class="def">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; (seq, seq) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:partition">partition</a></code> takes a predicate and a sequence and returns the pair of
 sequences of elements which do and do not satisfy the predicate.</p><pre><code><a href="Data-Sequences.html#v:partition">partition</a></code> p se = (<code><a href="Data-Sequences.html#v:filter">filter</a></code> p se, <code><a href="Data-Sequences.html#v:filter">filter</a></code> (<code>not</code> . p) se)
</pre></div><p class="src"><a id="v:uncons" class="def">uncons</a> :: seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq, seq) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:uncons">uncons</a></code> returns the tuple of the first element of a sequence and the rest
 of the sequence, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if the sequence is empty.</p><pre>&gt; <code><a href="Data-Sequences.html#v:uncons">uncons</a></code> (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> (1,fromList [2,3,4])

&gt; <code><a href="Data-Sequences.html#v:uncons">uncons</a></code> ([] :: [<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>])
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</pre></div><p class="src"><a id="v:unsnoc" class="def">unsnoc</a> :: seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (seq, <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:unsnoc">unsnoc</a></code> returns the tuple of the init of a sequence and the last element,
 or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if the sequence is empty.</p><pre>&gt; <code><a href="Data-Sequences.html#v:uncons">uncons</a></code> (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3,4] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>)
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> (fromList [1,2,3],4)

&gt; <code><a href="Data-Sequences.html#v:uncons">uncons</a></code> ([] :: [<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>])
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</pre></div><p class="src"><a id="v:filter" class="def">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:filter">filter</a></code> given a predicate returns a sequence of all elements that satisfy
 the predicate.</p><pre>&gt; <code><a href="Data-Sequences.html#v:filter">filter</a></code> (&lt; 5) [1 .. 10]
[1,2,3,4]
</pre></div><p class="src"><a id="v:filterM" class="def">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; m seq <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><div class="doc"><p>The monadic version of <code><a href="Data-Sequences.html#v:filter">filter</a></code>.</p></div><p class="src"><a id="v:replicate" class="def">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:replicate">replicate</a></code> n x</code> is a sequence of length <code>n</code> with <code>x</code> as the
 value of every element.</p><pre>&gt; <code><a href="Data-Sequences.html#v:replicate">replicate</a></code> 10 <code>a</code> :: Text
&quot;aaaaaaaaaa&quot;
</pre></div><p class="src"><a id="v:replicateM" class="def">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq) -&gt; m seq <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><div class="doc"><p>The monadic version of <code><a href="Data-Sequences.html#v:replicateM">replicateM</a></code>.</p></div><p class="src"><a id="v:groupBy" class="def">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:group">group</a></code> takes a sequence and returns a list of sequences such that the
 concatenation of the result is equal to the argument. Each subsequence in
 the result contains only equal elements, using the supplied equality test.</p><pre>&gt; <code><a href="Data-Sequences.html#v:groupBy">groupBy</a></code> (==) <a href="Mississippi.html">Mississippi</a>
[<a href="M.html">M</a>,&quot;i&quot;,&quot;ss&quot;,&quot;i&quot;,&quot;ss&quot;,&quot;i&quot;,&quot;pp&quot;,&quot;i&quot;]
</pre></div><p class="src"><a id="v:groupAllOn" class="def">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; b) -&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><div class="doc"><p>Similar to standard <code><a href="Data-Sequences.html#v:groupBy">groupBy</a></code>, but operates on the whole collection,
 not just the consecutive items.</p></div><p class="src"><a id="v:subsequences" class="def">subsequences</a> :: seq -&gt; [seq] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:subsequences">subsequences</a></code> returns a list of all subsequences of the argument.</p><pre>&gt; <code><a href="Data-Sequences.html#v:subsequences">subsequences</a></code> &quot;abc&quot;
[&quot;&quot;,&quot;a&quot;,&quot;b&quot;,&quot;ab&quot;,&quot;c&quot;,&quot;ac&quot;,&quot;bc&quot;,&quot;abc&quot;]
</pre></div><p class="src"><a id="v:permutations" class="def">permutations</a> :: seq -&gt; [seq] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:permutations">permutations</a></code> returns a list of all permutations of the argument.</p><pre>&gt; <code><a href="Data-Sequences.html#v:permutations">permutations</a></code> &quot;abc&quot;
[&quot;abc&quot;,&quot;bac&quot;,&quot;cba&quot;,&quot;bca&quot;,&quot;cab&quot;,&quot;acb&quot;]
</pre></div><p class="src"><a id="v:tailEx" class="def">tailEx</a> :: seq -&gt; seq <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><div class="doc"><p><strong>Unsafe</strong></p><p>Get the tail of a sequence, throw an exception if the sequence is empty.</p><pre>&gt; <code><a href="Data-Sequences.html#v:tailEx">tailEx</a></code> [1,2,3]
[2,3]
</pre></div><p class="src"><a id="v:tailMay" class="def">tailMay</a> :: seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> seq <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><div class="doc"><p>Safe version of <code><a href="Data-Sequences.html#v:tailEx">tailEx</a></code>.</p><p>Returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> instead of throwing an exception when encountering
 an empty monomorphic container.</p><p><em>Since: 1.0.0</em></p></div><p class="src"><a id="v:initEx" class="def">initEx</a> :: seq -&gt; seq <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><div class="doc"><p><strong>Unsafe</strong></p><p>Get the init of a sequence, throw an exception if the sequence is empty.</p><pre>&gt; <code><a href="Data-Sequences.html#v:initEx">initEx</a></code> [1,2,3]
[1,2]
</pre></div><p class="src"><a id="v:initMay" class="def">initMay</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> seq <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><div class="doc"><p>Safe version of <code><a href="Data-Sequences.html#v:initEx">initEx</a></code>.</p><p>Returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> instead of throwing an exception when encountering
 an empty monomorphic container.</p><p><em>Since: 1.0.0</em></p></div><p class="src"><a id="v:unsafeTail" class="def">unsafeTail</a> :: seq -&gt; seq <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><a href="Data-Sequences.html#v:tailEx">tailEx</a></code>.</p></div><p class="src"><a id="v:unsafeInit" class="def">unsafeInit</a> :: seq -&gt; seq <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><a href="Data-Sequences.html#v:initEx">initEx</a></code>.</p></div><p class="src"><a id="v:index" class="def">index</a> :: seq -&gt; <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><div class="doc"><p>Get the element of a sequence at a certain index, returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
 if that index does not exist.</p><pre>&gt; <code><a href="Data-Sequences.html#v:index">index</a></code> (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>) 1
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> 2
&gt; <code><a href="Data-Sequences.html#v:index">index</a></code> (<code><a href="Data-Sequences.html#v:fromList">fromList</a></code> [1,2,3] :: <code>Vector</code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></code>) 4
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</pre></div><p class="src"><a id="v:indexEx" class="def">indexEx</a> :: seq -&gt; <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><div class="doc"><p><strong>Unsafe</strong></p><p>Get the element of a sequence at a certain index, throws an exception
 if the index does not exist.</p></div><p class="src"><a id="v:unsafeIndex" class="def">unsafeIndex</a> :: seq -&gt; <a href="Data-Sequences.html#t:Index">Index</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><a href="Data-Sequences.html#v:indexEx">indexEx</a></code>.</p></div><p class="src"><a id="v:splitWhen" class="def">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:splitWhen">splitWhen</a></code> splits a sequence into components delimited by separators,
 where the predicate returns True for a separator element. The resulting
 components do not contain the separators. Two adjacent separators result
 in an empty component in the output. The number of resulting components
 is greater by one than number of separators.</p><p>Since 0.9.3</p></div></div><div class="subs instances"><p id="control.i:IsSequence" class="caption collapser" onclick="toggleSection('i:IsSequence')">Instances</p><div id="section.i:IsSequence" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:1" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:1')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-769" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>, <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:2" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:2')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-638" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:3" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:3')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-828" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) -&gt; m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; b) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:4" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:4')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-707" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) -&gt; m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; b) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-Sequences.html#t:Index">Index</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:5" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:5')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> [a]</span> <a href="src/Data-Sequences.html#line-559" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> [a]] -&gt; [a] <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; ([a], [a]) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; ([a], [a]) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; [a] -&gt; ([a], [a]) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; [a] -&gt; ([a], [a]) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; ([a], [a]) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a], [a]) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> ([a], <a href="Data-MonoTraversable.html#t:Element">Element</a> [a]) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; [a] <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; m [a] <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; [a] <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a]) -&gt; m [a] <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; [[a]] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; b) -&gt; [a] -&gt; [[a]] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: [a] -&gt; [[a]] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: [a] -&gt; [[a]] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: [a] -&gt; [a] <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [a] <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: [a] -&gt; [a] <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [a] <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: [a] -&gt; [a] <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: [a] -&gt; [a] <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: [a] -&gt; <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a]) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: [a] -&gt; <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: [a] -&gt; <a href="Data-Sequences.html#t:Index">Index</a> [a] -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> [a] <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> [a] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; [a] -&gt; [[a]] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:6" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:6')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)</span> <a href="src/Data-Sequences.html#line-887" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a), <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a, <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)) -&gt; m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; b) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a)) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Sequence.html#t:Seq">Seq</a> a] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:7" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:7')"></span> <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)</span> <a href="src/Data-Sequences.html#line-954" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)] -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a), <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a, <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; m (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)) -&gt; m (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; b) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:8" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:8')"></span> <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Unbox">Unbox</a> a =&gt; <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)</span> <a href="src/Data-Sequences.html#line-1028" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)] -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a), <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a, <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; m (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)) -&gt; m (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; b) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Unboxed.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:IsSequence:IsSequence:9" class="instance expander" onclick="toggleSection('i:ic:IsSequence:IsSequence:9')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Storable.html#t:Storable">Storable</a> a =&gt; <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)</span> <a href="src/Data-Sequences.html#line-1102" class="link">Source</a> <a href="#t:IsSequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:IsSequence:IsSequence:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)] -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:break">break</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#break" class="link">Source</a> <a href="#v:break" class="selflink">#</a></p><p class="src"><a href="#v:span">span</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#span" class="link">Source</a> <a href="#v:span" class="selflink">#</a></p><p class="src"><a href="#v:dropWhile">dropWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#dropWhile" class="link">Source</a> <a href="#v:dropWhile" class="selflink">#</a></p><p class="src"><a href="#v:takeWhile">takeWhile</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#takeWhile" class="link">Source</a> <a href="#v:takeWhile" class="selflink">#</a></p><p class="src"><a href="#v:splitAt">splitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#splitAt" class="link">Source</a> <a href="#v:splitAt" class="selflink">#</a></p><p class="src"><a href="#v:unsafeSplitAt">unsafeSplitAt</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#unsafeSplitAt" class="link">Source</a> <a href="#v:unsafeSplitAt" class="selflink">#</a></p><p class="src"><a href="#v:take">take</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#take" class="link">Source</a> <a href="#v:take" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTake">unsafeTake</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeTake" class="link">Source</a> <a href="#v:unsafeTake" class="selflink">#</a></p><p class="src"><a href="#v:drop">drop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#drop" class="link">Source</a> <a href="#v:drop" class="selflink">#</a></p><p class="src"><a href="#v:unsafeDrop">unsafeDrop</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeDrop" class="link">Source</a> <a href="#v:unsafeDrop" class="selflink">#</a></p><p class="src"><a href="#v:partition">partition</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a, <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#partition" class="link">Source</a> <a href="#v:partition" class="selflink">#</a></p><p class="src"><a href="#v:uncons">uncons</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a), <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#uncons" class="link">Source</a> <a href="#v:uncons" class="selflink">#</a></p><p class="src"><a href="#v:unsnoc">unsnoc</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a, <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#unsnoc" class="link">Source</a> <a href="#v:unsnoc" class="selflink">#</a></p><p class="src"><a href="#v:filter">filter</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#filter" class="link">Source</a> <a href="#v:filter" class="selflink">#</a></p><p class="src"><a href="#v:filterM">filterM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; m (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#filterM" class="link">Source</a> <a href="#v:filterM" class="selflink">#</a></p><p class="src"><a href="#v:replicate">replicate</a> :: <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#replicate" class="link">Source</a> <a href="#v:replicate" class="selflink">#</a></p><p class="src"><a href="#v:replicateM">replicateM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; m (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)) -&gt; m (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#replicateM" class="link">Source</a> <a href="#v:replicateM" class="selflink">#</a></p><p class="src"><a href="#v:groupBy">groupBy</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#groupBy" class="link">Source</a> <a href="#v:groupBy" class="selflink">#</a></p><p class="src"><a href="#v:groupAllOn">groupAllOn</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> b =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; b) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#groupAllOn" class="link">Source</a> <a href="#v:groupAllOn" class="selflink">#</a></p><p class="src"><a href="#v:subsequences">subsequences</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#subsequences" class="link">Source</a> <a href="#v:subsequences" class="selflink">#</a></p><p class="src"><a href="#v:permutations">permutations</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#permutations" class="link">Source</a> <a href="#v:permutations" class="selflink">#</a></p><p class="src"><a href="#v:tailEx">tailEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#tailEx" class="link">Source</a> <a href="#v:tailEx" class="selflink">#</a></p><p class="src"><a href="#v:tailMay">tailMay</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#tailMay" class="link">Source</a> <a href="#v:tailMay" class="selflink">#</a></p><p class="src"><a href="#v:initEx">initEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#initEx" class="link">Source</a> <a href="#v:initEx" class="selflink">#</a></p><p class="src"><a href="#v:initMay">initMay</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#initMay" class="link">Source</a> <a href="#v:initMay" class="selflink">#</a></p><p class="src"><a href="#v:unsafeTail">unsafeTail</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeTail" class="link">Source</a> <a href="#v:unsafeTail" class="selflink">#</a></p><p class="src"><a href="#v:unsafeInit">unsafeInit</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a <a href="src/Data-Sequences.html#unsafeInit" class="link">Source</a> <a href="#v:unsafeInit" class="selflink">#</a></p><p class="src"><a href="#v:index">index</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a)) <a href="src/Data-Sequences.html#index" class="link">Source</a> <a href="#v:index" class="selflink">#</a></p><p class="src"><a href="#v:indexEx">indexEx</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#indexEx" class="link">Source</a> <a href="#v:indexEx" class="selflink">#</a></p><p class="src"><a href="#v:unsafeIndex">unsafeIndex</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; <a href="Data-Sequences.html#t:Index">Index</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) <a href="src/Data-Sequences.html#unsafeIndex" class="link">Source</a> <a href="#v:unsafeIndex" class="selflink">#</a></p><p class="src"><a href="#v:splitWhen">splitWhen</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a -&gt; [<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Storable.html#t:Vector">Vector</a> a] <a href="src/Data-Sequences.html#splitWhen" class="link">Source</a> <a href="#v:splitWhen" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:defaultFind" class="def">defaultFind</a> :: <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="src/Data-Sequences.html#defaultFind" class="link">Source</a> <a href="#v:defaultFind" class="selflink">#</a></p><div class="doc"><p>Use <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html">Data.List</a>'s implementation of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html#v:find">find</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:defaultIntersperse" class="def">defaultIntersperse</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#defaultIntersperse" class="link">Source</a> <a href="#v:defaultIntersperse" class="selflink">#</a></p><div class="doc"><p>Use <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html">Data.List</a>'s implementation of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html#v:intersperse">intersperse</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:defaultReverse" class="def">defaultReverse</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; seq <a href="src/Data-Sequences.html#defaultReverse" class="link">Source</a> <a href="#v:defaultReverse" class="selflink">#</a></p><div class="doc"><p>Use <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html">Data.List</a>'s implementation of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html#v:reverse">reverse</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:defaultSortBy" class="def">defaultSortBy</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#defaultSortBy" class="link">Source</a> <a href="#v:defaultSortBy" class="selflink">#</a></p><div class="doc"><p>Use <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html">Data.List</a>'s implementation of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html#v:sortBy">sortBy</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:defaultSplitWhen" class="def">defaultSplitWhen</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#defaultSplitWhen" class="link">Source</a> <a href="#v:defaultSplitWhen" class="selflink">#</a></p><div class="doc"><p>Use <code><a href="Data-Sequences.html#v:splitWhen">splitWhen</a></code> from <a href="file:///usr/share/doc/libghc-split-doc/html/Data-List-Split.html">Data.List.Split</a></p></div></div><div class="top"><p class="src"><a id="v:vectorSortBy" class="def">vectorSortBy</a> :: <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v e =&gt; (e -&gt; e -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a>) -&gt; v e -&gt; v e <a href="src/Data-Sequences.html#vectorSortBy" class="link">Source</a> <a href="#v:vectorSortBy" class="selflink">#</a></p><div class="doc"><p>Sort a vector using an supplied element ordering function.</p></div></div><div class="top"><p class="src"><a id="v:vectorSort" class="def">vectorSort</a> :: (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v e, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> e) =&gt; v e -&gt; v e <a href="src/Data-Sequences.html#vectorSort" class="link">Source</a> <a href="#v:vectorSort" class="selflink">#</a></p><div class="doc"><p>Sort a vector.</p></div></div><div class="top"><p class="src"><a id="v:defaultCons" class="def">defaultCons</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#defaultCons" class="link">Source</a> <a href="#v:defaultCons" class="selflink">#</a></p><div class="doc"><p>Use <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html">Data.List</a>'s <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html#v::">:</a></code> to prepend an element to a sequence.</p></div></div><div class="top"><p class="src"><a id="v:defaultSnoc" class="def">defaultSnoc</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq <a href="src/Data-Sequences.html#defaultSnoc" class="link">Source</a> <a href="#v:defaultSnoc" class="selflink">#</a></p><div class="doc"><p>Use <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html">Data.List</a>'s <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-List.html#v:-43--43-">++</a></code> to append an element to a sequence.</p></div></div><div class="top"><p class="src"><a id="v:tailDef" class="def">tailDef</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; seq <a href="src/Data-Sequences.html#tailDef" class="link">Source</a> <a href="#v:tailDef" class="selflink">#</a></p><div class="doc"><p>like Data.List.tail, but an input of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#v:mempty">mempty</a></code> returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#v:mempty">mempty</a></code></p></div></div><div class="top"><p class="src"><a id="v:initDef" class="def">initDef</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; seq -&gt; seq <a href="src/Data-Sequences.html#initDef" class="link">Source</a> <a href="#v:initDef" class="selflink">#</a></p><div class="doc"><p>like Data.List.init, but an input of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#v:mempty">mempty</a></code> returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#v:mempty">mempty</a></code></p></div></div><div class="top"><p class="src"><a id="v:splitElem" class="def">splitElem</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#splitElem" class="link">Source</a> <a href="#v:splitElem" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:splitElem">splitElem</a></code></code> splits a sequence into components delimited by separator
 element. It's equivalent to <code><a href="Data-Sequences.html#v:splitWhen">splitWhen</a></code> with equality predicate:</p><pre>splitElem sep === splitWhen (== sep)</pre><p>Since 0.9.3</p></div></div><div class="top"><p class="src"><a id="v:splitSeq" class="def">splitSeq</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#splitSeq" class="link">Source</a> <a href="#v:splitSeq" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code></code> splits a sequence into components delimited by
 separator subsequence. <code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code> is the right inverse of <code>intercalate</code>:</p><pre>ointercalate x . splitSeq x === id</pre><p><code><a href="Data-Sequences.html#v:splitElem">splitElem</a></code> can be considered a special case of <code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code></p><pre>splitSeq (singleton sep) === splitElem sep</pre><p><code><code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code> mempty</code> is another special case: it splits just before each
 element, and in line with <code><a href="Data-Sequences.html#v:splitWhen">splitWhen</a></code> rules, it has at least one output
 component:</p><pre>&gt; <code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code> &quot;&quot; &quot;&quot;
[&quot;&quot;]
&gt; <code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code> &quot;&quot; &quot;a&quot;
[&quot;&quot;, &quot;a&quot;]
&gt; <code><a href="Data-Sequences.html#v:splitSeq">splitSeq</a></code> &quot;&quot; &quot;ab&quot;
[&quot;&quot;, &quot;a&quot;, &quot;b&quot;]
</pre><p>Since 0.9.3</p></div></div><div class="top"><p class="src"><a id="v:replaceSeq" class="def">replaceSeq</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#replaceSeq" class="link">Source</a> <a href="#v:replaceSeq" class="selflink">#</a></p><div class="doc"><p><code><code><a href="Data-Sequences.html#v:replaceSeq">replaceSeq</a></code> old new</code> replaces all <code>old</code> subsequences with <code>new</code>.</p><pre>replaceSeq old new === ointercalate new . splitSeq old</pre><p><em>Since: 1.0.1</em></p></div></div><div class="top"><p class="src"><a id="v:stripPrefix" class="def">stripPrefix</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> seq <a href="src/Data-Sequences.html#stripPrefix" class="link">Source</a> <a href="#v:stripPrefix" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:stripPrefix">stripPrefix</a></code> drops the given prefix from a sequence.
 It returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if the sequence did not start with the prefix
 given, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the sequence after the prefix, if it does.</p><pre>&gt; <code><a href="Data-Sequences.html#v:stripPrefix">stripPrefix</a></code> &quot;foo&quot; &quot;foobar&quot;
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> &quot;foo&quot;
&gt; <code><a href="Data-Sequences.html#v:stripPrefix">stripPrefix</a></code> &quot;abc&quot; &quot;foobar&quot;
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</pre></div></div><div class="top"><p class="src"><a id="v:stripSuffix" class="def">stripSuffix</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> seq <a href="src/Data-Sequences.html#stripSuffix" class="link">Source</a> <a href="#v:stripSuffix" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:stripSuffix">stripSuffix</a></code> drops the given suffix from a sequence.
 It returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if the sequence did not end with the suffix
 given, or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the sequence before the suffix, if it does.</p><pre>&gt; <code><a href="Data-Sequences.html#v:stripSuffix">stripSuffix</a></code> &quot;bar&quot; &quot;foobar&quot;
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> &quot;foo&quot;
&gt; <code><a href="Data-Sequences.html#v:stripSuffix">stripSuffix</a></code> &quot;abc&quot; &quot;foobar&quot;
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
</pre></div></div><div class="top"><p class="src"><a id="v:isPrefixOf" class="def">isPrefixOf</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-Sequences.html#isPrefixOf" class="link">Source</a> <a href="#v:isPrefixOf" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:isPrefixOf">isPrefixOf</a></code> takes two sequences and returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> if the first
 sequence is a prefix of the second.</p></div></div><div class="top"><p class="src"><a id="v:isSuffixOf" class="def">isSuffixOf</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-Sequences.html#isSuffixOf" class="link">Source</a> <a href="#v:isSuffixOf" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:isSuffixOf">isSuffixOf</a></code> takes two sequences and returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> if the first
 sequence is a suffix of the second.</p></div></div><div class="top"><p class="src"><a id="v:isInfixOf" class="def">isInfixOf</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-Sequences.html#isInfixOf" class="link">Source</a> <a href="#v:isInfixOf" class="selflink">#</a></p><div class="doc"><p><code><a href="Data-Sequences.html#v:isInfixOf">isInfixOf</a></code> takes two sequences and returns <code>true</code> if the first
 sequence is contained, wholly and intact, anywhere within the second.</p></div></div><div class="top"><p class="src"><a id="v:group" class="def">group</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#group" class="link">Source</a> <a href="#v:group" class="selflink">#</a></p><div class="doc"><p>Equivalent to <code><code><a href="Data-Sequences.html#v:groupBy">groupBy</a></code> (==)</code></p></div></div><div class="top"><p class="src"><a id="v:groupAll" class="def">groupAll</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; [seq] <a href="src/Data-Sequences.html#groupAll" class="link">Source</a> <a href="#v:groupAll" class="selflink">#</a></p><div class="doc"><p>Similar to standard <code><a href="Data-Sequences.html#v:group">group</a></code>, but operates on the whole collection,
 not just the consecutive items.</p><p>Equivalent to <code><code><a href="Data-Sequences.html#v:groupAllOn">groupAllOn</a></code> id</code></p></div></div><div class="top"><p class="src"><a id="v:delete" class="def">delete</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#delete" class="link">Source</a> <a href="#v:delete" class="selflink">#</a></p><div class="doc"><p><em>Since: 0.10.2</em></p></div></div><div class="top"><p class="src"><a id="v:deleteBy" class="def">deleteBy</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -&gt; <a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#deleteBy" class="link">Source</a> <a href="#v:deleteBy" class="selflink">#</a></p><div class="doc"><p><em>Since: 0.10.2</em></p></div></div><div class="top"><p class="src"><a id="v:splitElemStrictBS" class="def">splitElemStrictBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#splitElemStrictBS" class="link">Source</a> <a href="#v:splitElemStrictBS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:stripPrefixStrictBS" class="def">stripPrefixStrictBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#stripPrefixStrictBS" class="link">Source</a> <a href="#v:stripPrefixStrictBS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:stripSuffixStrictBS" class="def">stripSuffixStrictBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#stripSuffixStrictBS" class="link">Source</a> <a href="#v:stripSuffixStrictBS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:splitSeqLazyBS" class="def">splitSeqLazyBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#splitSeqLazyBS" class="link">Source</a> <a href="#v:splitSeqLazyBS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:stripPrefixLazyBS" class="def">stripPrefixLazyBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#stripPrefixLazyBS" class="link">Source</a> <a href="#v:stripPrefixLazyBS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:stripSuffixLazyBS" class="def">stripSuffixLazyBS</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#stripSuffixLazyBS" class="link">Source</a> <a href="#v:stripSuffixLazyBS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:splitSeqStrictText" class="def">splitSeqStrictText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#splitSeqStrictText" class="link">Source</a> <a href="#v:splitSeqStrictText" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:replaceSeqStrictText" class="def">replaceSeqStrictText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#replaceSeqStrictText" class="link">Source</a> <a href="#v:replaceSeqStrictText" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:splitSeqLazyText" class="def">splitSeqLazyText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#splitSeqLazyText" class="link">Source</a> <a href="#v:splitSeqLazyText" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:replaceSeqLazyText" class="def">replaceSeqLazyText</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#replaceSeqLazyText" class="link">Source</a> <a href="#v:replaceSeqLazyText" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sort" class="def">sort</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq)) =&gt; seq -&gt; seq <a href="src/Data-Sequences.html#sort" class="link">Source</a> <a href="#v:sort" class="selflink">#</a></p><div class="doc"><p>Sort a ordered sequence.</p><pre>&gt; <code><a href="Data-Sequences.html#v:sort">sort</a></code> [4,3,1,2]
[1,2,3,4]
</pre></div></div><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:IsString">IsString</a> t, <a href="Data-MonoTraversable.html#t:Element">Element</a> t ~ <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>) =&gt; <a id="t:Textual" class="def">Textual</a> t <span class="keyword">where</span> <a href="src/Data-Sequences.html#Textual" class="link">Source</a> <a href="#t:Textual" class="selflink">#</a></p><div class="doc"><p>A typeclass for sequences whose elements are <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a></code>s.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Data-Sequences.html#v:words">words</a>, <a href="Data-Sequences.html#v:unwords">unwords</a>, <a href="Data-Sequences.html#v:lines">lines</a>, <a href="Data-Sequences.html#v:unlines">unlines</a>, <a href="Data-Sequences.html#v:toLower">toLower</a>, <a href="Data-Sequences.html#v:toUpper">toUpper</a>, <a href="Data-Sequences.html#v:toCaseFold">toCaseFold</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:words" class="def">words</a> :: t -&gt; [t] <a href="src/Data-Sequences.html#words" class="link">Source</a> <a href="#v:words" class="selflink">#</a></p><div class="doc"><p>Break up a textual sequence into a list of words, which were delimited
 by white space.</p><pre>&gt; <code><a href="Data-Sequences.html#v:words">words</a></code> &quot;abc  def ghi&quot;
[&quot;abc&quot;,&quot;def&quot;,&quot;ghi&quot;]
</pre></div><p class="src"><a id="v:unwords" class="def">unwords</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq ~ t, <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; t <a href="src/Data-Sequences.html#unwords" class="link">Source</a> <a href="#v:unwords" class="selflink">#</a></p><div class="doc"><p>Join a list of textual sequences using seperating spaces.</p><pre>&gt; <code><a href="Data-Sequences.html#v:unwords">unwords</a></code> [&quot;abc&quot;,&quot;def&quot;,&quot;ghi&quot;]
&quot;abc def ghi&quot;
</pre></div><p class="src"><a id="v:lines" class="def">lines</a> :: t -&gt; [t] <a href="src/Data-Sequences.html#lines" class="link">Source</a> <a href="#v:lines" class="selflink">#</a></p><div class="doc"><p>Break up a textual sequence at newline characters.</p><pre>&gt; <code><a href="Data-Sequences.html#v:lines">lines</a></code> &quot;hello\nworld&quot;
[&quot;hello&quot;,&quot;world&quot;]
</pre></div><p class="src"><a id="v:unlines" class="def">unlines</a> :: (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq ~ t, <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; t <a href="src/Data-Sequences.html#unlines" class="link">Source</a> <a href="#v:unlines" class="selflink">#</a></p><div class="doc"><p>Join a list of textual sequences using newlines.</p><pre>&gt; <code><a href="Data-Sequences.html#v:unlines">unlines</a></code> [&quot;abc&quot;,&quot;def&quot;,&quot;ghi&quot;]
&quot;abc\ndef\nghi&quot;
</pre></div><p class="src"><a id="v:toLower" class="def">toLower</a> :: t -&gt; t <a href="src/Data-Sequences.html#toLower" class="link">Source</a> <a href="#v:toLower" class="selflink">#</a></p><div class="doc"><p>Convert a textual sequence to lower-case.</p><pre>&gt; <code><a href="Data-Sequences.html#v:toLower">toLower</a></code> &quot;HELLO WORLD&quot;
&quot;hello world&quot;
</pre></div><p class="src"><a id="v:toUpper" class="def">toUpper</a> :: t -&gt; t <a href="src/Data-Sequences.html#toUpper" class="link">Source</a> <a href="#v:toUpper" class="selflink">#</a></p><div class="doc"><p>Convert a textual sequence to upper-case.</p><pre>&gt; <code><a href="Data-Sequences.html#v:toUpper">toUpper</a></code> &quot;hello world&quot;
&quot;HELLO WORLD&quot;
</pre></div><p class="src"><a id="v:toCaseFold" class="def">toCaseFold</a> :: t -&gt; t <a href="src/Data-Sequences.html#toCaseFold" class="link">Source</a> <a href="#v:toCaseFold" class="selflink">#</a></p><div class="doc"><p>Convert a textual sequence to folded-case.</p><p>Slightly different from <code><a href="Data-Sequences.html#v:toLower">toLower</a></code>, see <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html">Data.Text</a>.<code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#v:toCaseFold">toCaseFold</a></code></code></p></div><p class="src"><a id="v:breakWord" class="def">breakWord</a> :: t -&gt; (t, t) <a href="src/Data-Sequences.html#breakWord" class="link">Source</a> <a href="#v:breakWord" class="selflink">#</a></p><div class="doc"><p>Split a textual sequence into two parts, split at the first space.</p><pre>&gt; <code><a href="Data-Sequences.html#v:breakWord">breakWord</a></code> &quot;hello world&quot;
(&quot;hello&quot;,&quot;world&quot;)
</pre></div><p class="src"><a id="v:breakLine" class="def">breakLine</a> :: t -&gt; (t, t) <a href="src/Data-Sequences.html#breakLine" class="link">Source</a> <a href="#v:breakLine" class="selflink">#</a></p><div class="doc"><p>Split a textual sequence into two parts, split at the newline.</p><pre>&gt; <code><a href="Data-Sequences.html#v:breakLine">breakLine</a></code> &quot;abc\ndef&quot;
(&quot;abc&quot;,&quot;def&quot;)
</pre></div></div><div class="subs instances"><p id="control.i:Textual" class="caption collapser" onclick="toggleSection('i:Textual')">Instances</p><div id="section.i:Textual" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Textual:Textual:1" class="instance expander" onclick="toggleSection('i:ic:Textual:Textual:1')"></span> <a href="Data-Sequences.html#t:Textual">Textual</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-1505" class="link">Source</a> <a href="#t:Textual" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Textual:Textual:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:words">words</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#words" class="link">Source</a> <a href="#v:words" class="selflink">#</a></p><p class="src"><a href="#v:unwords">unwords</a> :: ((<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unwords" class="link">Source</a> <a href="#v:unwords" class="selflink">#</a></p><p class="src"><a href="#v:lines">lines</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#lines" class="link">Source</a> <a href="#v:lines" class="selflink">#</a></p><p class="src"><a href="#v:unlines">unlines</a> :: ((<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unlines" class="link">Source</a> <a href="#v:unlines" class="selflink">#</a></p><p class="src"><a href="#v:toLower">toLower</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toLower" class="link">Source</a> <a href="#v:toLower" class="selflink">#</a></p><p class="src"><a href="#v:toUpper">toUpper</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toUpper" class="link">Source</a> <a href="#v:toUpper" class="selflink">#</a></p><p class="src"><a href="#v:toCaseFold">toCaseFold</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toCaseFold" class="link">Source</a> <a href="#v:toCaseFold" class="selflink">#</a></p><p class="src"><a href="#v:breakWord">breakWord</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#breakWord" class="link">Source</a> <a href="#v:breakWord" class="selflink">#</a></p><p class="src"><a href="#v:breakLine">breakLine</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#breakLine" class="link">Source</a> <a href="#v:breakLine" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Textual:Textual:2" class="instance expander" onclick="toggleSection('i:ic:Textual:Textual:2')"></span> <a href="Data-Sequences.html#t:Textual">Textual</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-1489" class="link">Source</a> <a href="#t:Textual" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Textual:Textual:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:words">words</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#words" class="link">Source</a> <a href="#v:words" class="selflink">#</a></p><p class="src"><a href="#v:unwords">unwords</a> :: ((<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unwords" class="link">Source</a> <a href="#v:unwords" class="selflink">#</a></p><p class="src"><a href="#v:lines">lines</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#lines" class="link">Source</a> <a href="#v:lines" class="selflink">#</a></p><p class="src"><a href="#v:unlines">unlines</a> :: ((<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#unlines" class="link">Source</a> <a href="#v:unlines" class="selflink">#</a></p><p class="src"><a href="#v:toLower">toLower</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toLower" class="link">Source</a> <a href="#v:toLower" class="selflink">#</a></p><p class="src"><a href="#v:toUpper">toUpper</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toUpper" class="link">Source</a> <a href="#v:toUpper" class="selflink">#</a></p><p class="src"><a href="#v:toCaseFold">toCaseFold</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toCaseFold" class="link">Source</a> <a href="#v:toCaseFold" class="selflink">#</a></p><p class="src"><a href="#v:breakWord">breakWord</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#breakWord" class="link">Source</a> <a href="#v:breakWord" class="selflink">#</a></p><p class="src"><a href="#v:breakLine">breakLine</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; (<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>, <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>) <a href="src/Data-Sequences.html#breakLine" class="link">Source</a> <a href="#v:breakLine" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Textual:Textual:3" class="instance expander" onclick="toggleSection('i:ic:Textual:Textual:3')"></span> (~) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> c <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> =&gt; <a href="Data-Sequences.html#t:Textual">Textual</a> [c]</span> <a href="src/Data-Sequences.html#line-1473" class="link">Source</a> <a href="#t:Textual" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Textual:Textual:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:words">words</a> :: [c] -&gt; [[c]] <a href="src/Data-Sequences.html#words" class="link">Source</a> <a href="#v:words" class="selflink">#</a></p><p class="src"><a href="#v:unwords">unwords</a> :: ((<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) [c], <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; [c] <a href="src/Data-Sequences.html#unwords" class="link">Source</a> <a href="#v:unwords" class="selflink">#</a></p><p class="src"><a href="#v:lines">lines</a> :: [c] -&gt; [[c]] <a href="src/Data-Sequences.html#lines" class="link">Source</a> <a href="#v:lines" class="selflink">#</a></p><p class="src"><a href="#v:unlines">unlines</a> :: ((<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> seq) [c], <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> seq) =&gt; seq -&gt; [c] <a href="src/Data-Sequences.html#unlines" class="link">Source</a> <a href="#v:unlines" class="selflink">#</a></p><p class="src"><a href="#v:toLower">toLower</a> :: [c] -&gt; [c] <a href="src/Data-Sequences.html#toLower" class="link">Source</a> <a href="#v:toLower" class="selflink">#</a></p><p class="src"><a href="#v:toUpper">toUpper</a> :: [c] -&gt; [c] <a href="src/Data-Sequences.html#toUpper" class="link">Source</a> <a href="#v:toUpper" class="selflink">#</a></p><p class="src"><a href="#v:toCaseFold">toCaseFold</a> :: [c] -&gt; [c] <a href="src/Data-Sequences.html#toCaseFold" class="link">Source</a> <a href="#v:toCaseFold" class="selflink">#</a></p><p class="src"><a href="#v:breakWord">breakWord</a> :: [c] -&gt; ([c], [c]) <a href="src/Data-Sequences.html#breakWord" class="link">Source</a> <a href="#v:breakWord" class="selflink">#</a></p><p class="src"><a href="#v:breakLine">breakLine</a> :: [c] -&gt; ([c], [c]) <a href="src/Data-Sequences.html#breakLine" class="link">Source</a> <a href="#v:breakLine" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:catMaybes" class="def">catMaybes</a> :: (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> (f (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t)), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor.html#t:Functor">Functor</a> f, <a href="Data-MonoTraversable.html#t:Element">Element</a> (f (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t)) ~ <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t) =&gt; f (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> t) -&gt; f t <a href="src/Data-Sequences.html#catMaybes" class="link">Source</a> <a href="#v:catMaybes" class="selflink">#</a></p><div class="doc"><p>Takes all of the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> values from a sequence of <code>Maybe t</code>s and
 concatenates them into an unboxed sequence of <code>t</code>s.</p><p>Since 0.6.2</p></div></div><div class="top"><p class="src"><a id="v:sortOn" class="def">sortOn</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> o, <a href="Data-Sequences.html#t:SemiSequence">SemiSequence</a> seq) =&gt; (<a href="Data-MonoTraversable.html#t:Element">Element</a> seq -&gt; o) -&gt; seq -&gt; seq <a href="src/Data-Sequences.html#sortOn" class="link">Source</a> <a href="#v:sortOn" class="selflink">#</a></p><div class="doc"><p>Same as <code>sortBy . comparing</code>.</p><p>Since 0.7.0</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Data-Sequences.html#t:IsSequence">IsSequence</a> lazy, <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> strict) =&gt; <a id="t:LazySequence" class="def">LazySequence</a> lazy strict | lazy -&gt; strict, strict -&gt; lazy <span class="keyword">where</span> <a href="src/Data-Sequences.html#LazySequence" class="link">Source</a> <a href="#t:LazySequence" class="selflink">#</a></p><div class="doc"><p>Lazy sequences containing strict chunks of data.</p><p><em>Since: 1.0.0</em></p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Data-Sequences.html#v:toChunks">toChunks</a>, <a href="Data-Sequences.html#v:fromChunks">fromChunks</a>, <a href="Data-Sequences.html#v:toStrict">toStrict</a>, <a href="Data-Sequences.html#v:fromStrict">fromStrict</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:toChunks" class="def">toChunks</a> :: lazy -&gt; [strict] <a href="src/Data-Sequences.html#toChunks" class="link">Source</a> <a href="#v:toChunks" class="selflink">#</a></p><p class="src"><a id="v:fromChunks" class="def">fromChunks</a> :: [strict] -&gt; lazy <a href="src/Data-Sequences.html#fromChunks" class="link">Source</a> <a href="#v:fromChunks" class="selflink">#</a></p><p class="src"><a id="v:toStrict" class="def">toStrict</a> :: lazy -&gt; strict <a href="src/Data-Sequences.html#toStrict" class="link">Source</a> <a href="#v:toStrict" class="selflink">#</a></p><p class="src"><a id="v:fromStrict" class="def">fromStrict</a> :: strict -&gt; lazy <a href="src/Data-Sequences.html#fromStrict" class="link">Source</a> <a href="#v:fromStrict" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:LazySequence" class="caption collapser" onclick="toggleSection('i:LazySequence')">Instances</p><div id="section.i:LazySequence" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:LazySequence:LazySequence:1" class="instance expander" onclick="toggleSection('i:ic:LazySequence:LazySequence:1')"></span> <a href="Data-Sequences.html#t:LazySequence">LazySequence</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-1546" class="link">Source</a> <a href="#t:LazySequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:LazySequence:LazySequence:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toChunks">toChunks</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] <a href="src/Data-Sequences.html#toChunks" class="link">Source</a> <a href="#v:toChunks" class="selflink">#</a></p><p class="src"><a href="#v:fromChunks">fromChunks</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#fromChunks" class="link">Source</a> <a href="#v:fromChunks" class="selflink">#</a></p><p class="src"><a href="#v:toStrict">toStrict</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#toStrict" class="link">Source</a> <a href="#v:toStrict" class="selflink">#</a></p><p class="src"><a href="#v:fromStrict">fromStrict</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#fromStrict" class="link">Source</a> <a href="#v:fromStrict" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:LazySequence:LazySequence:2" class="instance expander" onclick="toggleSection('i:ic:LazySequence:LazySequence:2')"></span> <a href="Data-Sequences.html#t:LazySequence">LazySequence</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/Data-Sequences.html#line-1552" class="link">Source</a> <a href="#t:LazySequence" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:LazySequence:LazySequence:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toChunks">toChunks</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] <a href="src/Data-Sequences.html#toChunks" class="link">Source</a> <a href="#v:toChunks" class="selflink">#</a></p><p class="src"><a href="#v:fromChunks">fromChunks</a> :: [<a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a>] -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#fromChunks" class="link">Source</a> <a href="#v:fromChunks" class="selflink">#</a></p><p class="src"><a href="#v:toStrict">toStrict</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#toStrict" class="link">Source</a> <a href="#v:toStrict" class="selflink">#</a></p><p class="src"><a href="#v:fromStrict">fromStrict</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#fromStrict" class="link">Source</a> <a href="#v:fromStrict" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:pack" class="def">pack</a> :: <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> seq =&gt; [<a href="Data-MonoTraversable.html#t:Element">Element</a> seq] -&gt; seq <a href="src/Data-Sequences.html#pack" class="link">Source</a> <a href="#v:pack" class="selflink">#</a></p><div class="doc"><p>Synonym for <code><a href="Data-Sequences.html#v:fromList">fromList</a></code></p><p><em>Since: 1.0.0</em></p></div></div><div class="top"><p class="src"><a id="v:unpack" class="def">unpack</a> :: <a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> mono =&gt; mono -&gt; [<a href="Data-MonoTraversable.html#t:Element">Element</a> mono] <a href="src/Data-Sequences.html#unpack" class="link">Source</a> <a href="#v:unpack" class="selflink">#</a></p><div class="doc"><p>Synonym for <code><a href="Data-MonoTraversable.html#v:otoList">otoList</a></code></p><p><em>Since: 1.0.0</em></p></div></div><div class="top"><p class="src"><a id="v:repack" class="def">repack</a> :: (<a href="Data-MonoTraversable.html#t:MonoFoldable">MonoFoldable</a> a, <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> b, <a href="Data-MonoTraversable.html#t:Element">Element</a> a ~ <a href="Data-MonoTraversable.html#t:Element">Element</a> b) =&gt; a -&gt; b <a href="src/Data-Sequences.html#repack" class="link">Source</a> <a href="#v:repack" class="selflink">#</a></p><div class="doc"><p>Repack from one type to another, dropping to a list in the middle.</p><p><code>repack = pack . unpack</code>.</p><p><em>Since: 1.0.0</em></p></div></div><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Data-Sequences.html#t:Textual">Textual</a> textual, <a href="Data-Sequences.html#t:IsSequence">IsSequence</a> binary) =&gt; <a id="t:Utf8" class="def">Utf8</a> textual binary | textual -&gt; binary, binary -&gt; textual <span class="keyword">where</span> <a href="src/Data-Sequences.html#Utf8" class="link">Source</a> <a href="#t:Utf8" class="selflink">#</a></p><div class="doc"><p>Textual data which can be encoded to and decoded from UTF8.</p><p><em>Since: 1.0.0</em></p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Data-Sequences.html#v:encodeUtf8">encodeUtf8</a>, <a href="Data-Sequences.html#v:decodeUtf8">decodeUtf8</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:encodeUtf8" class="def">encodeUtf8</a> :: textual -&gt; binary <a href="src/Data-Sequences.html#encodeUtf8" class="link">Source</a> <a href="#v:encodeUtf8" class="selflink">#</a></p><div class="doc"><p>Encode from textual to binary using UTF-8 encoding</p><p><em>Since: 1.0.0</em></p></div><p class="src"><a id="v:decodeUtf8" class="def">decodeUtf8</a> :: binary -&gt; textual <a href="src/Data-Sequences.html#decodeUtf8" class="link">Source</a> <a href="#v:decodeUtf8" class="selflink">#</a></p><div class="doc"><p>Note that this function is required to be pure. In the case of
 a decoding error, Unicode replacement characters must be used.</p><p><em>Since: 1.0.0</em></p></div></div><div class="subs instances"><p id="control.i:Utf8" class="caption collapser" onclick="toggleSection('i:Utf8')">Instances</p><div id="section.i:Utf8" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Utf8:Utf8:1" class="instance expander" onclick="toggleSection('i:ic:Utf8:Utf8:1')"></span> <a href="Data-Sequences.html#t:Utf8">Utf8</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-1599" class="link">Source</a> <a href="#t:Utf8" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Utf8:Utf8:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:encodeUtf8">encodeUtf8</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#encodeUtf8" class="link">Source</a> <a href="#v:encodeUtf8" class="selflink">#</a></p><p class="src"><a href="#v:decodeUtf8">decodeUtf8</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text-Lazy.html#t:Text">Text</a> <a href="src/Data-Sequences.html#decodeUtf8" class="link">Source</a> <a href="#v:decodeUtf8" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Utf8:Utf8:2" class="instance expander" onclick="toggleSection('i:ic:Utf8:Utf8:2')"></span> <a href="Data-Sequences.html#t:Utf8">Utf8</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></span> <a href="src/Data-Sequences.html#line-1596" class="link">Source</a> <a href="#t:Utf8" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Utf8:Utf8:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:encodeUtf8">encodeUtf8</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-Sequences.html#encodeUtf8" class="link">Source</a> <a href="#v:encodeUtf8" class="selflink">#</a></p><p class="src"><a href="#v:decodeUtf8">decodeUtf8</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Data-Sequences.html#decodeUtf8" class="link">Source</a> <a href="#v:decodeUtf8" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Utf8:Utf8:3" class="instance expander" onclick="toggleSection('i:ic:Utf8:Utf8:3')"></span> ((~) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> c <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>, (~) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> w <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a>) =&gt; <a href="Data-Sequences.html#t:Utf8">Utf8</a> [c] [w]</span> <a href="src/Data-Sequences.html#line-1593" class="link">Source</a> <a href="#t:Utf8" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Utf8:Utf8:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:encodeUtf8">encodeUtf8</a> :: [c] -&gt; [w] <a href="src/Data-Sequences.html#encodeUtf8" class="link">Source</a> <a href="#v:encodeUtf8" class="selflink">#</a></p><p class="src"><a href="#v:decodeUtf8">decodeUtf8</a> :: [w] -&gt; [c] <a href="src/Data-Sequences.html#decodeUtf8" class="link">Source</a> <a href="#v:decodeUtf8" class="selflink">#</a></p></div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>