(no title)
tandav | 2 years ago
(
range(10)
| Map(lambda x: x * 10)
| Filter(lambda x: x % 2 == 0)
| Reduce(lambda a, b: a + b)
)
and more. https://tandav.github.io/pipe21/most operators are basically oneliners: https://github.com/tandav/pipe21/blob/master/pipe21.py#L17
I also maintain a list of libraries which uses pipeline/chain syntax: https://tandav.github.io/pipe21/similar-tools/
throwaway914|2 years ago
https://ramdajs.com/
retrocryptid|2 years ago
also, have you seen lazyjs? Also very cool.