Consider implementing `IComparable` in the path types
Opened this issue · 4 comments
This has hit me several times already: absence of IComparable<T>
doesn't allow to use the type as a key in F#'s Map
.
Let's define the comparability somehow.
Hi. I would to implement this feature.
Will we be OS dependent or will we always compare case-sensitive?
Let's implement it as string comparison for now. A PR with more comparers is cooking: #84
My view is that we should use the PlatformDefaultPathComparer
for default comparison (fast and IO-free, while providing good quality for most cases), and the user is free to use any other in case they want.
Sure, you can fork and finish it. Just make sure to preserve the original contributor's commit, to preserve their authorship for the history and proper acknowledgment.