aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/UnsetEnv.hs
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-06-12 03:35:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-06-12 03:41:16 +0300
commit37489c93248e5197f9b84b58c07680c9cb273189 (patch)
tree4d40a1d3f818f7105573a682e8319be0aec1d1bf /app/UnsetEnv.hs
parentdelpath: don't do anything if variable is missing (diff)
downloadwindows-env-37489c93248e5197f9b84b58c07680c9cb273189.tar.gz
windows-env-37489c93248e5197f9b84b58c07680c9cb273189.zip
addpath: fix a sleep-deprived bug
Yeah, so last night I added a Show instance to WindowsEnv.Value (ex-WindowsEnv.VarValue), which would simply call valueString (ex-varValueString). Then I replaced every valueString/varValueString with show. Then I decided that this Show instance was a mistake, and derived an instance instead. It obviously messed up all the show VarValue/Value calls. The lesson to learn is you should remove an instance first, fix all the call sites, and only then derive it. The disgusting part is that a few of the last commits are actually broken, which I hate.
Diffstat (limited to 'app/UnsetEnv.hs')
0 files changed, 0 insertions, 0 deletions