<div dir="ltr">On Wed, Feb 22, 2012 at 18:05, Evan Laforge <span dir="ltr">&lt;<a href="mailto:qdunkan@gmail.com">qdunkan@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I propose a function: lookupEnv :: String -&gt; IO (Maybe String)<br></blockquote><div><br></div><div>+1 </div></div><div>Maybe if exceptions fit the ecosystem a bit better, but as is getEnv does not make enormous amounts of sense to me (it&#39;s a bit like assuming the behavior of the C version on a nonexistent variable should be a core dump; that&#39;s taking the nature of unchecked pointers just a bit too literally...).</div>
<div><br></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>