Naively implemented functional programming utilities...
This is an exercise (for funzies) in understanding functional programming via implementation of a utility library. If you want something like this in real life, you should clearly reach for ramda or lodash/fp.