Riku
03/06/2019, 8:53 AMfold
. It seems when attached to a data type, fold always includes an on error callback. I see why this is handy in deriving many other behaviours. But the built in Kotlin version of fold on a list takes an initial value and a single function, like the native Kotlin version is basically a reduce with an initial value and a single function. Are these compatible conceptually? Or are we using the same term for slightly different concepts?