Backwards breaking change for setEnv

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Aug 16 21:59:02 UTC 2016


On 17 August 2016 at 03:26, Carter Schonwald <carter.schonwald at gmail.com> wrote:
> I like your suggestion, sounds good to me.  The delete semantic always
> seemed like a gotcha rather than a feature

Just in case someone is depending on that behaviour though, would it
be better to deprecate this function and define a new one with the
non-delete semantics?

>
>
> On Tuesday, August 16, 2016, Edward Z. Yang <ezyang at mit.edu> wrote:
>>
>> Hello all,
>>
>> I wanted to bring this bug to the attention of the CLC
>>
>>     https://ghc.haskell.org/trac/ghc/ticket/12494#ticket
>>
>> I propose that we change 'setEnv k ""' to set the environment
>> variable to an empty string, rather than delete the environment
>> variable.  The existing behavior was motivated by a Windows
>> "quirk" that actually doesn't exist (details in ticket.)
>>
>> Thanks,
>> Edward
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Libraries mailing list