Johannes Waldmann waldmann at
Sun Dec 9 09:36:38 EST 2007

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 ?

Best regards, Johannes.

More information about the Libraries mailing list