inits-f (npm): segment a list
Keywords: functional|list