this is ~= daggy’s ‘cata’, right? where does that name come from?
Jon Gold

It’s short for catamorphism: i.e. a generalized fold. If you look at the structures used to implement things here and in a .cata method, they are extremely similar. I find .cata a little easier to read/understand than the positional format here, but ymmv. Using daggy/.cata straight out of the box won’t necessarily give you the sort of compile-time feedback you’d get from the flow approach:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.