Implement `between` in terms of `pipe`.