def run.fin
import bend-kit-archive@0.5.1.0/archive.bend as Archiveimport Base
339def run.fin(res: Result<&1, &1, U32 & String, U32 & List<&1, Entry>>) -> Result<&1, &1, U32 & String, List<&1, Entry>>:
340 match res:
341 case Fail{e}:
342 Fail{e}
343 case Done{(left, acc)}:
344 Done{List.reverse(&1, Entry, acc)}