Exec.make: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/exec.bend as Exec Lines 16-25 of ezx@1.11.0.0/src/share/exec.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/exec.bend&start_line=16&end_line=25 import Base import snap@1.4.0.0/main.bend as R # those directories made. Base has no mkdir, so this is coreutils, and no # directory means no run at all. def make(ds: List<&2, String>) -> IO(Unit): match ds: case []: IO.pure(Unit, Unit{}) case h <> t: do IO: _mk : String <- R.exec(List.append(&2, String, ["mkdir", "-p"], h <> t)) return Unit{} Uses (8): 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=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=exec