Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The upcoming ranges library will provide exactly this! It uses | for composing operations.

See e.g. here: https://github.com/ericniebler/range-v3/tree/master/example



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: