hi there,
been playing with your code as an alternative to otp.net. its great - thanks!
one small thing - there appears to be a bug in your implentation of GetEnumerator() on OtpErlangList. Doing a foreach over a list skips the first item! Maybe because the start parameter you pass into your inner Itr class shadows the exisiting field with the same name?
fwiw, might just be easier let the compiler write the iterator for you with yield return?
hi there,
been playing with your code as an alternative to otp.net. its great - thanks!
one small thing - there appears to be a bug in your implentation of GetEnumerator() on OtpErlangList. Doing a foreach over a list skips the first item! Maybe because the start parameter you pass into your inner Itr class shadows the exisiting field with the same name?
fwiw, might just be easier let the compiler write the iterator for you with yield return?