Julia

function square(x)
    return x * x
end

ys = zeros(3)
for i in 1:3
    ys[i] = square(i)
end

xs = 1:3
square.(xs) # 1 4 9

https://cheatsheet.juliadocs.org/

julia> ?(“hello”, 1, 2.0)[TAB]

shows all of the dispatches that match an argument set and thus the functions that can be called on it

https://modernjuliaworkflows.github.io/pages/writing/writing/

https://krasjet.com/rnd.wlk/julia/