This looks like a bug. Somehow the generic proc instantiation of `appl` makes
the compiler mess with the untyped paramter to `foldl`. Here is a smaller
example:
import sequtils
template b = 0
proc bar[T](): int =
foldl(@[1,2,3], a + b, 0)
echo bar[int]() # 0
- problem with template (or types)(i think) SolitudeSF
- Re: problem with template (or types)(i think) SolitudeSF
- Re: problem with template (or types)(i think) GULPF
