petermora / nimLazy

Iterator library for Nim.
MIT License
38 stars 3 forks source link

Instantiation Error when importing lazy #2

Open kinokasai opened 6 years ago

kinokasai commented 6 years ago

As said, there's an instantiation error on importing lazy on nim 0.17.2.

Here is the specific error:

~/.nimble/pkgs/lazy-0.1.0/lazy.nim(1735, 18) Error: cannot instantiate: 'U'
    proc name*[T,S,U](param1: T, iter: iterator(): S): iterator(): U =

Thanks for looking into it.