python from toolz import curry, pipe, compose, filter, take data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] @curry def multiply(a, b): return a * b result = pipe( data, filter(lambda x: x % 2 == 0), map(multiply(2)), take(3) )