Hacker News new | ask | show | jobs
by marcosdumay 1267 days ago
> Monads seem to be a fundamental building block.

Sorry, but no. If that or transducers are the things you think about on this context, you are going on the wrong direction.

Not that those aren't useful. Whatever software solves the OP's problem will certainly make plenty of usage of interpreters and lambdas (what monads and transducers are), and any developers should be able to use both of those. But those are completely removed from the problem, they aren't an attempt to solve it.

1 comments

The apps that I write pull data, process it, and write it to another sink.

There are many different sources and sinks, but the processing pipelines tend to be the same.

Based on my research these abstractions are designed for this. Feel free to elaborate why I'm incorrect, or better abstractions.

I brought it up in the discussion relating to CRUD, because it's very similar to the code I used to write for straight CRUD. In fact both ends of the processing pipelines are identical to CRUD.

> Based on my research these abstractions are designed for this.

Those two are general purpose abstractions aimed at organizing code. They can certainly be used for this, just like they can be used for anything.