dave08
03/06/2025, 11:39 AMAlejandro Serrano.Mena
03/06/2025, 11:43 AMEval.later
enough here? https://arrow-kt.io/learn/collections-functions/eval/dave08
03/06/2025, 11:46 AMdata class Later<out A>(f: () -> A) : Eval<A> , Lazy<A>
where f
isn't suspending?Alejandro Serrano.Mena
03/06/2025, 11:46 AMsuspend
function!dave08
03/06/2025, 11:48 AMAlejandro Serrano.Mena
03/06/2025, 11:49 AMarrow-collectors
Alejandro Serrano.Mena
03/06/2025, 11:49 AMdave08
03/06/2025, 11:52 AMby lazy { }
in a lot of cases, but Eval could be the first to support suspend funs... maybe even having val suspendFoo by Eval.coLazy { }
or something similar, which could cover such cases too...Alejandro Serrano.Mena
03/06/2025, 9:32 PM