Skip to content

Commit 131ff59

Browse files
authored
Fix transpose example (#60)
1 parent 0cab1a5 commit 131ff59

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
@@ -93,7 +93,7 @@ <h1>Modules</h1>
9393
ghci&gt; transpose [[1,2,3],[4,5,6],[7,8,9]]
9494
[[1,4,7],[2,5,8],[3,6,9]]
9595
ghci&gt; transpose ["hey","there","folks"]
96-
["htg","ehu","yey","rs","e"]
96+
["htf","eho","yel","rk","es"]
9797
</pre>
9898
<p>Say we have the polynomials <i>3x<sup>2</sup> + 5x + 9</i>, <i>10x<sup>3</sup> + 9</i> and <i>8x<sup>3</sup> + 5x<sup>2</sup> + x - 1</i> and we want to add them together. We can use the lists <span class="fixed">[0,3,5,9]</span>, <span class="fixed">[10,0,0,9]</span> and <span class="fixed">[8,5,1,-1]</span> to represent them in Haskell. Now, to add them, all we have to do is this:</p>
9999
<pre name="code" class="haskell:ghci">

0 commit comments

Comments
 (0)