id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
5930	add System.Environment.lookupEnv which returns Maybe instead of an exception	elaforge	pcapriotti	"getEnv throws an exception when the key isn't found, which is surprising and inconvenient.  I'd prefer to change the signature of getEnv to return Maybe, but that will break people's code, so I'll settle for a new lookupEnv function.

It's been discussed on libraries@haskell.org and there was unanimous support.

Patches attached, the first cleans up mixed tabs and spaces (which I understand has been happening in ghc lately).  The second adds the new function.  Unfortunately I still can't get ghc to compile so it's untested for now. I'll keep trying with GHC, but I don't have a windows machine for testing."	feature request	closed	normal	7.6.1	libraries/base	7.4.1	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown	Unknown				
