Transducer template

Code



Compilation output:

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

Paste info


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

Compilation


Compiler: DMD 2.078.3 ( 2.078.3 )
Pointer size: m64

Actions