2 ms·
Hopefully you'd replace grep with using the actual structure of what you're looking for. I mean there are type-safe pipeline libraries (I use fs2 a fair bit), i
by lmm 10y ago
Hopefully you'd replace grep with using the actual structure of what you're looking for. I mean there are type-safe pipeline libraries (I use fs2 a fair bit), it's just a question of modelling the things you want from a filesystem (or similar structure). If you're giving up unix compatibility then there's not so much value gained from having the unix filesystem model. So a better point of comparison is to take a business problem that you would solve with grep/ls/what-have-you, and solve it with fs2/conduit/... instead.