3 ms·
I actually didn't want to make this too much of an FP-bashing comment, as I find great use of many FP concepts, daily. I have yet to see an FP concept for comp
by samuell 6y ago
I actually didn't want to make this too much of an FP-bashing comment, as I find great use of many FP concepts, daily.
I have yet to see an FP concept for composition though, that is as simple and generic in its implementation, as the FBP principles.
I have sometimes thought FBP networks provide roughly the same function (pun not intended) as a monad, although I never seem to fully grasp what a monad is, so I can't tell for sure :o)
- dustingetz 6y agoYes, dataflow with dynamic topologies (self-adjusting computation) forms a monad. If the "flowchart" is merely static, that forms an applicative. https://blog.janestreet.com/breaking-down-frp/ https://blog.janestreet.com/breaking-down-frp/ In my opinion, understanding the monad is essential to understanding how to fully separate an AST from its evaluation behavior. That is basically what a monad is, the monad is the computational structure that does that.
- samuell 6y agoThanks, that clarifies a lot!