<div dir="ltr">Dominick,<div><br></div><div>I recommend looking at the unix-compat package when working on non-posix systems.</div><div><br></div><div><a href="http://hackage.haskell.org/package/unix-compat-0.4.1.1/docs/System-PosixCompat-Files.html">http://hackage.haskell.org/package/unix-compat-0.4.1.1/docs/System-PosixCompat-Files.html</a><br>
<br>As far as dealing with the different file conventions across OS's, I recommend looking at the filepath library. It has functions for dealing w/ filepaths agnostically.</div><div><br></div><div><a href="http://hackage.haskell.org/package/filepath-1.3.0.2/docs/System-FilePath-Windows.html">http://hackage.haskell.org/package/filepath-1.3.0.2/docs/System-FilePath-Windows.html</a><br>
</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 12, 2014 at 11:56 PM, Dominick Samperi <span dir="ltr"><<a href="mailto:djsamperi@gmail.com" target="_blank">djsamperi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
The unix package (System.Posix) is not supported under Windows and<br>
I wonder if there is an alternative solution that deals with the odd file<br>
naming convention under windows (backward vs unix forward slash),<br>
spaces in file names, etc.<br>
<br>
It looks like System.Environment is a good substitute for System.Posix.Env,<br>
but it is not clear how to deal with file naming conventions.<br>
<br>
Any pointers or tips would be much appreciated.<br>
<br>
Thanks,<br>
Dominick<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Cell: 1.630.740.8204
</div>