[ir2cabs] tiny refactoring (use List.fold_left instead of manual list unroll)

latest
Name Stage Failure
failed
git-update Git Update There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log