
10 Dec
2007
10 Dec
'07
4:42 a.m.
"Neil Mitchell"
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