Skip to content

Commit 1615254

Browse files
authored
Fix description of 'ĺines'
1 parent 3b2fe0c commit 1615254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ <h1>Modules</h1>
308308
[(2,2,5,2),(3,2,5,2),(3,2,3,2)]
309309
</pre>
310310
<p>Just like with normal zipping, lists that are longer than the shortest list that's being zipped are cut down to size.</p>
311-
<p><span class="label function">lines</span> is a useful function when dealing with files or input from somewhere. It takes a string and returns every line of that string in a separate list.</p>
311+
<p><span class="label function">lines</span> is a useful function when dealing with files or input from somewhere. It takes a string and returns every line of that string as separate element of a list.</p>
312312
<pre name="code" class="haskell:ghci">
313313
ghci&gt; lines "first line\nsecond line\nthird line"
314314
["first line","second line","third line"]

0 commit comments

Comments
 (0)