mostly-adequate-guide
mostly-adequate-guide copied to clipboard
Mostly adequate guide to FP (in javascript)
I am trying to get my head around the section composition in chapter 12, and I don't understand how comp1 is working: ``` const comp1 = compose(sequence(Compose.of), map(Compose.of)); comp1(Identity(Right([true]))); //...
In Chapter 12, `traverse` is presented out of the blue. `sequence` is explained, but in the section **Type Feng Shui**, traverse is not explained.
I might did not get it but I was trying to run the sample in the example for the composition law and the part below does not seem to work:...
In chapter 10 on part laws. there is a code that demonstrates "applicatives are close under composition". ``` const tOfM = compose(Task.of, Maybe.of); liftA2(liftA2(concat), tOfM('Rainy Days and Mondays'), tOfM(' always...
I noticed today that the IO.join() method seemed off, so I searched in issues and PRs whether someone else had spoken about this, subsequently I found this PR: https://github.com/MostlyAdequate/mostly-adequate-guide/pull/265 which...
In chapter 8, `Maybe` is defined as follows: ```js class Maybe { static of(x) { return new Maybe(x); } get isNothing() { return this.$value === null || this.$value === undefined;...
In chapter 5 (curry), you first [encounter exercises](https://mostly-adequate.gitbook.io/mostly-adequate-guide/ch04#lets-practice). The section states: > Throughout the book, you might encounter an 'Exercises' section like this one. Exercises can be done directly in-browser...
Hey, great stuff :) And I pretty much agree with everything you mentioned on #479. Are you interested in fixing those few other points as well? (Including #191 ?) Incidentally,...
I did not fully understand the `Task` example in chapter 8 and following the link to Folktale 2 and the new `task` implementation made me even more confused. I tried...
Is there a timeline for Part 3? This book is amazing and should be completed if there was some justice in the world. The author mentions "academic absurdity" in connection...