This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
stack/drone-starlark/repos/map.star

3 lines
44 B
Plaintext
Raw Permalink Normal View History

2020-04-26 11:56:39 +00:00
def map(fn, l):
return [fn(x) for x in l]