chainFirst

Undocumented in source.
alias chainFirst = chainControl!true

Examples

int a = 2;
int b = 3;
int[] results;
foreach (i; 0..10)
	chainFilter!(n => n % a == 0)(chainFilter!(n => n % b == 0)((int n) { results ~= n; return false; }))(i);
assert(results == [0, 6]);

Meta