counter :: Counter :: dec
e
# Decrement the value of `e` by 1 fun dec(e: E) do if not has_key(e) then self.map[e] = 0 else self.map[e] = self[e] - 1 sum += - 1 end end