You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _site/0-book/unit-5/section-3/3-bind.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ These techniques are effective, but they complicate the library's internal imple
91
91
92
92
### 3. The Timeline Library's Approach: "It's Wrong for the Diamond Problem to Occur in the First Place"
93
93
94
-
The `Timeline` library, rather than relying on such low-level mechanisms, cuts this problem off at its root through a higher level of abstraction. Its philosophy is the highly refined idea that **"a design that allows the diamond problem to occur is itself flawed, and a better design should be chosen."
94
+
The `Timeline` library, rather than relying on such low-level mechanisms, cuts this problem off at its root through a higher level of abstraction. Its philosophy is the highly refined idea that **"a design that allows the diamond problem to occur is itself flawed, and a better design should be chosen."**
95
95
96
96
#### Conceptual Purity: Expressing the Essence of "Defining D from A"
97
97
@@ -155,7 +155,7 @@ Many other solutions are all "post-problem-fixes." They are merely symptomatic t
155
155
156
156
However, `bind` enables **"a design where problems don't occur."** This is the very beauty of functional programming.
157
157
158
-
`.bind` is backed by the mathematical laws of Monad, and its behavior is completely predictable. **With the powerful abstraction of the Monad, developers can completely control side effects (in this case, the unintended propagation of intermediate states) and safely describe only the essential computation.
158
+
`.bind` is backed by the mathematical laws of Monad, and its behavior is completely predictable. **With the powerful abstraction of the Monad, developers can completely control side effects (in this case, the unintended propagation of intermediate states) and safely describe only the essential computation.**
159
159
160
160
The `Timeline` library, being faithful to theory, naturally provides not only `.map` but also `.bind`. This was not intentionally designed with the thought, "this can solve the diamond problem." The Monad algebraic structure is there from the beginning.
Copy file name to clipboardExpand all lines: src/content/docs/en/book/unit-5/section-3/3-bind.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ These techniques are effective, but they complicate the library's internal imple
93
93
94
94
### 3. The Timeline Library's Approach: "It's Wrong for the Diamond Problem to Occur in the First Place"
95
95
96
-
The `Timeline` library, rather than relying on such low-level mechanisms, cuts this problem off at its root through a higher level of abstraction. Its philosophy is the highly refined idea that **"a design that allows the diamond problem to occur is itself flawed, and a better design should be chosen."
96
+
The `Timeline` library, rather than relying on such low-level mechanisms, cuts this problem off at its root through a higher level of abstraction. Its philosophy is the highly refined idea that **"a design that allows the diamond problem to occur is itself flawed, and a better design should be chosen."**
97
97
98
98
#### Conceptual Purity: Expressing the Essence of "Defining D from A"
99
99
@@ -157,7 +157,7 @@ Many other solutions are all "post-problem-fixes." They are merely symptomatic t
157
157
158
158
However, `bind` enables **"a design where problems don't occur."** This is the very beauty of functional programming.
159
159
160
-
`.bind` is backed by the mathematical laws of Monad, and its behavior is completely predictable. **With the powerful abstraction of the Monad, developers can completely control side effects (in this case, the unintended propagation of intermediate states) and safely describe only the essential computation.
160
+
`.bind` is backed by the mathematical laws of Monad, and its behavior is completely predictable. **With the powerful abstraction of the Monad, developers can completely control side effects (in this case, the unintended propagation of intermediate states) and safely describe only the essential computation.**
161
161
162
162
The `Timeline` library, being faithful to theory, naturally provides not only `.map` but also `.bind`. This was not intentionally designed with the thought, "this can solve the diamond problem." The Monad algebraic structure is there from the beginning.
0 commit comments