
9 Dec
2007
9 Dec
'07
9:36 a.m.
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.