ArraySink

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

Constructors

this
this(Function!(A, void) sink)
Undocumented in source.

Members

Functions

opCall
void opCall(A[] xs)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

sink
Function!(A, void) sink;
Undocumented in source.

Examples

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

Meta