svedin·3 年前·議論ripgrep has a --passthru flag that does exactly this tail -f access.log | rg --passthru '\.jpg'
svedin·13 年前·議論push doesn't have to be non-side-effecting. You are allowed to modify shared state, as long as it is a TVar (shared memory that supports transactions).