Type of each element in the stream.
A sink stream that can be read from.
An element or range of elements to split on.
// Get a list of words from standard input. import io; import std.algorithm : map, filter; import std.array : array; auto words = stdin.splitter!char(' ') .filter!(w => w != "") .map!(w => w.idup) .array;
Convenience function for returning a stream splitter.