9 Dec 15:36
Re: filepath
Johannes Waldmann <waldmann <at> imn.htwk-leipzig.de>
2007-12-09 14:36:38 GMT
2007-12-09 14:36:38 GMT
Ian Lynagh wrote: > I'm having some problems using filepath in GHC. [...] I'm sure this has been said before: using the type string to avoid an ADT is generally a bad idea. (it's the "primitive obsession" code smell.) There are well-established "file path" ADT designs, e.g. why don't we rather literally copy http://java.sun.com/javase/6/docs/api/java/io/File.html ? Best regards, Johannes.
RSS Feed