[RFC] Implement a way to construct pipes
- Dominant language
- Haskell
- Stars
- 74
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
When I need to call pipes I often end with the code like this:
```haskell
callCommand $ "git diff " <> commit <> " --color=always | diff-highlight | less -rFX"
```
I can use `$|` operator but it's not efficient. So maybe having some additional function would be useful and I can rewrite it like this:
```haskell
pipes $ "git" [commit, "--color=always"] <> "diff-highlight" [] <> "less" ["-rfX"]
```
Contributor guide
Research direction
Start by reviewing the existing `$|` operator and the `callCommand` usage shown in the issue. Define whether the proposed `pipes` form can express the `git diff | diff-highlight | less` example efficiently; done means the project has an agreed, implemented way to construct that pipeline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100