domfox
04/23/2018, 8:55 PMbind
might conceivably send multiple values to the next expression); it also seems as if there are ways to hack Kotlin's continuation objects using reflection to enable them to be called repeatedly. Does anyone know if this is what Kategory is doing?
While I admire the hack involved in bringing monads to Kotlin via continuations, I also strongly suspect it's quite a nasty hack. Can anyone comment on this, particularly with respect to maintainability (e.g. does it depend on an internal implementation detail that might change in the future)?