Brian Lonsdorf
Brian Lonsdorf
I believe so, but to be clear we're talking about applicative functors that aren't monads with ZipList and monoids with `concat` so this example is double confusing
I just updated the invalid footnotes `[^this stuff]` and it seems to be working much better in ibooks now. This may be fixed for google play
Wow! Thanks! Is that local or PR?
Right on. thanks for providing a download!
Hey @babakness So to address the questions here: > Right away I think: so can a Monad not be Monoid and what if I have a functor with .map +...
`of` is crazy man. It's lawless (see https://www.schoolofhaskell.com/user/gbaz/building-up-to-a-point-via-adjunctions). But there's an intuition: ```js AnyTypeAtAll.of(anyValueAtAll).map(x => "I just mapped x") // AnyTypeAtAll("i just mapped x") ``` So the question is what...
Each Fn should return a monoid
I'd got with ramda-lens over this for sure - that's just a superset of this. Sorry the late response. Optics looks like the clear winner, but might be more difficult...
That is the absolute best comonad example I've ever seen! Thanks so much for that. Gabriel Gonzalez wrote a really neat OO -> FP look at comonads: http://www.haskellforall.com/2013/02/you-could-have-invented-comonads.html I wonder...