Transducer template

Code



Compilation output:

/d350/f664.d(17): Error: template `f664.transduce` cannot deduce function from argument types `!((a) => to!float(a), (a, b) => a + b)(int[])`, candidates are: /d350/f664.d(1): `f664.transduce(Range, alias f, alias g)(Range range)`

Paste info


Author: Guest
Views: 136
Private: no
Expires: Never
Uploaded: 22.12.17 5:53
Votes: 0

Compilation


Compiler: DMD 2.080.0 ( 2.080.0 )
Pointer size: m64

Actions