Re:Moka - Minimalist functional python library
by phzbOx on Saturday November 19, 2011 @05:39PM
(#3256518)
Thanks for the feedback; I agree with you. Here's the reasoning behind these odds choice..
List is-a list, and Dict is-a dict.. and thus, I'd like to make it possible to safely pass these objects to already existing code. If I rename .rem to .remove, I'd break that.
The reason for the chaining saving() is because it's useful to be able to toggle it. For instance:
List is-a list, and Dict is-a dict.. and thus, I'd like to make it possible to safely pass these objects to already existing code. If I rename .rem to .remove, I'd break that.
The reason for the chaining saving() is because it's useful to be able to toggle it. For instance:
So, basically, you change self.x with the map, but don't necessarily want to change it with the keep().(I'm not saying it is the right thing, just why it's done that way.)