drone/drone-starlark/repos/map.star

3 lines
44 B
Plaintext
Raw Normal View History

2020-05-10 16:16:11 +00:00
def map(fn, l):
return [fn(x) for x in l]