Even and Odd Integers

Key paths make it easy to be point-free :wink:. We just need a get function, an equivalent prefix ^, or some first-class promotion, if anyone wants to help me with an implementation :smile:.

xs.filter(\.isEven)
2 Likes