@mashingan Yes, I can convert the iterator to seq and all works. But it not the
way I want. I hope the iterator is same as seq, like following code:
print collectz(1..5, @[toSeq(1..it)])
print collectz(@[1,2,3], @[toSeq(1..it)])
print collectz(countup(1,4), @[toSeq(1..it)])
print collectz(x <- 1..5, @[toSeq(1..x)])
print collectz(x <- @[1,2,3], @[toSeq(1..x)])
print collectz(x <- countup(1,4), @[toSeq(1..x)])
- Compile error when wrapper type(...) with template slangmgh
- Re: Compile error when wrapper type(...) with template slangmgh
- Re: Compile error when wrapper type(...) with template cdome
- Re: Compile error when wrapper type(...) with templ... slangmgh
- Re: Compile error when wrapper type(...) with t... cdome
- Re: Compile error when wrapper type(...) w... slangmgh
- Re: Compile error when wrapper type(..... mashingan
- Re: Compile error when wrapper typ... slangmgh
- Re: Compile error when wrapper typ... LeuGim
- Re: Compile error when wrapper typ... slangmgh
- Re: Compile error when wrapper typ... slangmgh
- Re: Compile error when wrapper typ... LeuGim
