From: Nicolas C. <war...@fr...> - 2003-06-20 01:57:33
|
I added the complete documention to Enum. (comments are welcome ) While reading the documentation specification, I found a bug. Actually the iter2 , fold2 and others were not correct because of the following f (t.next()) (u.next()) if t.next() was called and then u.next() was raising No_more_elements , we were loosing an element of t. I modified the implementation of theses so now the element is saved and pushed back (using the new "push" function) if needed. But as for map2 (and map2i) this would involve setting up a try .. catch block for every call to next , which has already been tagged as not-so-efficient , I have then temporay removed theses two. Nicolas Cannasse |