drone/drone-starlark/repos/map.star

3 lines
44 B
Plaintext

def map(fn, l):
return [fn(x) for x in l]