News for hackers. Stuff that matters.
Re:Flow-Based Programming by samuell on Wednesday January 20, 2021 @02:02PM (#25850453)
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)

Re:Flow-Based Programming by dustingetz on Wednesday January 20, 2021 @02:29PM (#25850813)
Yes, 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/ 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.
Re:Flow-Based Programming by samuell on Wednesday January 20, 2021 @02:41PM (#25850976)
Thanks, that clarifies a lot!