10 Dec 10:42
Re: filepath
Ketil Malde <ketil+haskell <at> ii.uib.no>
2007-12-10 09:42:07 GMT
2007-12-10 09:42:07 GMT
"Neil Mitchell" <ndmitchell <at> gmail.com> writes: >> e.g. why don't we rather literally copy >> http://java.sun.com/javase/6/docs/api/java/io/File.html ? > I recommend someone actually implements one of these API's in Haskell > and uploads it to Hackage. For bonus points, take an existing Haskell > program and port its FilePath [...] And please hurry!I tend to use FilePath as just a newtype, i.e. I hardly use any other functions from the library, but use it in type signatures to make it clear what this particular string is for. I won't quite say the current library encourages this, but it clearly doesn't discourage it either... -k -- -- If I haven't seen further, it is by standing in the footprints of giants
I tend to use FilePath as just a newtype, i.e. I hardly use any other
functions from the library, but use it in type signatures to make it
clear what this particular string is for.
I won't quite say the current library encourages this, but it clearly
doesn't discourage it either...
-k
RSS Feed