List.for_each: def of Base Import: import Base Lines 1216-1223 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=1216&end_line=1223 import Base def List.for_each( ~a: Quant, ~A: Kind(a), ~f: A -> IO(Unit), xs: List ) -> IO(Unit): match xs: case Nil{}: IO.pure(Unit, Unit{}) case h <> t: IO.bind(Unit, Unit, f(h), u => List.for_each(~a, ~A, ~f, t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit