def assoc_in(d, keys, value, factory=dict):
 return update_in(d, keys, (lambda x: value), value, factory)

def assoc_in ( d , keys , value , factory = dict ) : return update_in ( d , keys , ( lambda x : value ) , value , factory )
return a new dict with new .