Cannot deduce function types for argument
ARaspiK
arav1025 at gmail.com
Mon Feb 26 07:27:05 UTC 2018
On Sunday, 25 February 2018 at 18:39:31 UTC, ARaspiK wrote:
> I'm making a calendar (basically improvements to
> https://wiki.dlang.org/Component_programming_with_ranges) and
> I'm getting a lot of `cannot deduce function from argument
> types` errors when using range-based mapping code.
> Here's my current code: https://pastebin.com/TqAkggEw
> My testing: `rdmd --eval='import calendar; dateList!(a =>
> a.year > 2013)(2013).chunkBy!myMonth.chunks(3).map!(r =>
> r.map!formatMonth.array().blockMonths("
> ").join("\n")).join("\n\n").writeln();'`
>
> [...]
I figured it out. I had passed incorrect parameters, and it works
now. Thanks for reading.
More information about the Digitalmars-d-learn
mailing list