
26 Jan
2005
26 Jan
'05
9:29 a.m.
Keean Schupke
So let's define a new algebraic datatype something like:
I think you can guess what comming - why not use a class for extensibility: class Path p where ... The path class would provide all the operations for using paths...
Yup, good idea, and I think this would also allow David Roundy's suggestion of a FastString implementation of filepaths - it becomes just another instance.
This has the advantage that people can add instances for platforms without having to alter the code in the library...
Exactly. Yes. Regards, Malcolm