+1<br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 3:36 PM, Neil Mitchell <span dir="ltr">&lt;<a href="mailto:ndmitchell@gmail.com">ndmitchell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I agree with the idea behind this proposal, but am pretty sure it will<br>
break quite a few filepath things that I maintain. So +1, but also +1<br>
for a really strong release announcement and version bump.<br>
<br>
The problem with filepaths is that they lack much structure, and are<br>
very system dependent - meaning every change will break something. A<br>
lovely abstract type would be wonderful, but no one has yet released<br>
such a library on hackage...<br>
<br>
Thanks, Neil<br>
<br>
<br>
2009/11/4 Duncan Coutts &lt;<a href="mailto:duncan.coutts@googlemail.com">duncan.coutts@googlemail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; On Wed, 2009-11-04 at 10:00 +0000, Simon Marlow wrote:<br>
&gt;<br>
&gt;&gt; I&#39;ve amended the patch as suggested above, it turned out to be not too<br>
&gt;&gt; hard.<br>
&gt;<br>
&gt; [..]<br>
&gt;<br>
&gt;&gt; Neil&#39;s comprehensive test suite still passes with the new patch.<br>
&gt;&gt;<br>
&gt;&gt; Ticket, with new patch attached:<br>
&gt;&gt;<br>
&gt;&gt;    <a href="http://hackage.haskell.org/trac/ghc/ticket/2034" target="_blank">http://hackage.haskell.org/trac/ghc/ticket/2034</a><br>
&gt;&gt;<br>
&gt;&gt; The discussion deadline has long passed, so I propose we have another 2<br>
&gt;&gt; weeks (18 November).<br>
&gt;<br>
&gt; I support this new proposal.<br>
&gt;<br>
&gt;<br>
&gt; To summarise for people who have not been paying full attention:<br>
&gt;<br>
&gt; Currently:<br>
&gt;        takeDirectory &quot;Main.hs&quot;  =  &quot;&quot;<br>
&gt;<br>
&gt; Proposed:<br>
&gt;        takeDirectory &quot;Main.hs&quot;  =  &quot;./&quot;<br>
&gt;<br>
&gt; The purpose being that one can always take the directory and get a valid<br>
&gt; path to use with a file system function, eg createDirectory.<br>
&gt;<br>
&gt;<br>
&gt; Unchanged behaviour:<br>
&gt;<br>
&gt;        &quot;./&quot; &lt;/&gt; &quot;Main.hs&quot;  =  &quot;./Main.hs&quot;<br>
&gt;<br>
&gt; It was initially proposed that &lt;/&gt; eat &quot;./&quot; on the left hand side but<br>
&gt; the current proposal leaves the behaviour of &lt;/&gt; unchanged.<br>
&gt;<br>
&gt; Duncan<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Libraries mailing list<br>
&gt; <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
&gt;<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
</div></div></blockquote></div><br>