Yes, I apologize for bugging all of you. This makes sense and I could
(should) have figured it out by myself.
As david pointed out the equivalence is only true for purely
functional code. I guess this is one of the consequences of flirting
to much with imperative features...
Till Varoquaux