diff --git a/docs/modules.html b/docs/modules.html index 1d032bc..c63795f 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -93,7 +93,7 @@

Modules

ghci> transpose [[1,2,3],[4,5,6],[7,8,9]] [[1,4,7],[2,5,8],[3,6,9]] ghci> transpose ["hey","there","folks"] -["htg","ehu","yey","rs","e"] +["htf","eho","yel","rk","es"]

Say we have the polynomials 3x2 + 5x + 9, 10x3 + 9 and 8x3 + 5x2 + x - 1 and we want to add them together. We can use the lists [0,3,5,9], [10,0,0,9] and [8,5,1,-1] to represent them in Haskell. Now, to add them, all we have to do is this:

diff --git a/markdown/generated_html/making-our-own-types-and-typeclasses.html b/markdown/generated_html/making-our-own-types-and-typeclasses.html
index 8d1497e..f92ee5b 100644
--- a/markdown/generated_html/making-our-own-types-and-typeclasses.html
+++ b/markdown/generated_html/making-our-own-types-and-typeclasses.html
@@ -782,9 +782,9 @@ 

Type synonyms

Map Int String or if we’re dealin’ with one of them polymorphic functions, [a] or (Ord a) => Maybe a and stuff. And like, sometimes me and -my buddies say that Maybe is a type, but we don’t mean that, -cause every idiot knows Maybe is a type constructor. When I -apply an extra type to Maybe, like +my buddies say that Maybe is a type, but we don’t mean +that, cause every idiot knows Maybe is a type constructor. +When I apply an extra type to Maybe, like Maybe String, then I have a concrete type. You know, values can only have types that are concrete types! So in conclusion, live fast, love hard and don’t let anybody else use your comb!

diff --git a/markdown/generated_html/modules.html b/markdown/generated_html/modules.html index 0265bd5..80bdc9b 100644 --- a/markdown/generated_html/modules.html +++ b/markdown/generated_html/modules.html @@ -157,7 +157,7 @@

Data.List

ghci> transpose [[1,2,3],[4,5,6],[7,8,9]]
 [[1,4,7],[2,5,8],[3,6,9]]
 ghci> transpose ["hey","there","folks"]
-["htg","ehu","yey","rs","e"]
+["htf","eho","yel","rk","es"]

Say we have the polynomials 3x2 + 5x + 9, 10x3 + 9 and 8x3 + 5x2 + x - 1 and we want to add them together. We can use the lists @@ -984,8 +984,8 @@

Data.Map

fromListWith is a cool little function. It acts like fromList, only it doesn’t discard duplicate keys but it uses a function supplied to it to decide what to -do with them. Let’s say that a friend can have several numbers and we have -an association list set up like this.

+do with them. Let’s say that a friend can have several numbers and we +have an association list set up like this.

phoneBook =
     [("amelia","555-2938")
     ,("amelia","342-2492")
diff --git a/markdown/source_md/modules.md b/markdown/source_md/modules.md
index afe40b9..55629c9 100644
--- a/markdown/source_md/modules.md
+++ b/markdown/source_md/modules.md
@@ -126,7 +126,7 @@ If you look at a list of lists as a 2D matrix, the columns become the rows and v
 ghci> transpose [[1,2,3],[4,5,6],[7,8,9]]
 [[1,4,7],[2,5,8],[3,6,9]]
 ghci> transpose ["hey","there","folks"]
-["htg","ehu","yey","rs","e"]
+["htf","eho","yel","rk","es"]
 ```
 
 Say we have the polynomials *3x^2^ + 5x + 9*, *10x^3^ + 9* and *8x^3^ + 5x^2^ + x - 1* and we want to add them together.