Open
Description
There's many pipeline packages "out there" but script seems to be one that gets it conceptually correct.
Question: Should it be possible to attach a data structure to a pipeline using generics ? Something like
type ParamPipe[T any] struct {
UserData T
Pipe
}
Then a process pipeline for an instance of a user-defined struct could easily be constructed in a one-liner, and new functions could specifically process the user data.
I wish to write processing pipelines for chunks of content, and script's bash-style primitives provide a lot of helpful functionality.
Metadata
Metadata
Assignees
Labels
No labels