bug in OtpErlangList iterator
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?
Thank you, apperly! I just pushed a quick fix.
that's great. thanks.
another request - would you consider implementing IEnumerable<OtpErlangObject> on OtpErlangTuple as well?
i meant IEnumerable<OtpErlangObject> (editor doesn't like angle brackets!)