I'm curious, has anyone thought about doing an "ap...
# arrow-meta
n
I'm curious, has anyone thought about doing an "applicative syntax" plugin with arrow-meta? I'm thinking this would be incredibly useful for things like Flows, for instance:
Flow.ap { aFlow + bFlow }
Would translate into something like:
aFlow.combine(bFlow) { a, b -> a + b }
Similarly, a syntax for arrows would be really nice as well. This comes up surprisingly often with some DSLs I have at work. For instance, I have a little "progress task" DSL for functions that have a notion of "progress tracking" associated with them, but they are not monadic as each function has some metadata associated with it denoting the amount of "steps" it takes to complete a task.