arraySink

Function from Array to void can be constructed from a Function to void.

arraySink
(
S
)
()
if (
is(S : Function!(A, void),
A
)
)

Examples

import std.stdio, std.range, std.array;
RealFunction!(writeln!int).get.arraySink()(10.iota.array);

Meta