
6 Dec
2020
6 Dec
'20
11:40 a.m.
Yeah, Python's `pop` made me call it `pop`. I had hoped to find other examples, but Java, Rust, and Ruby don't seem to offer `pop`-like functions for their (hash)maps. On 12/6/20 5:29 PM, Tom Ellis wrote:
On Sun, Dec 06, 2020 at 11:25:33AM -0500, David Feuer wrote:
The name pop makes me think of a stack. Is this use of the word common? Python uses that name, which is why I'm familiar with it:
d = {'a': 1, 'b': 2} d.pop('b') 2 d {'a': 1}
Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries