List.map: def of Base Import: import Base Lines 918-923 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=918&end_line=923 import Base def List.map(~A: Type, ~B: Type, ~f: A -> B, xs: List) -> List: match xs: case Nil{}: Nil{} case h <> t: f(h) <> List.map(~A, ~B, ~f, t) Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List