System.put_env/1 erases given key when a value is nil.

The proposal is to make System.put_env/2 symmetric with the 
System.put_env/1 and also erase a key on the nil value.

The spec would change from:

@spec put_env(binary(), binary()) :: :ok

to:

@spec put_env(binary(), binary() | nil) :: :ok

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/0cc7caf8-f152-4476-9472-454c5c7e2f07n%40googlegroups.com.

Reply via email to