![]() |
.. (לתיקייה המכילה) | |
Q3C, in the test: bfilter (fn x => x mod 2 = 0) Back (intbseq 2);
after 2 is 3 but since 3 is filtered and d=Back, we get 2 again.
In the test the output is 4. Why is that?
|
You advance in d's direction in the first operation. After that: when you go forward you skip the filtered elements and continue forward. when you go backward you skip the filtered elements and continue backward. |

