semantic icon indicating copy to clipboard operation
semantic copied to clipboard

Finish migrating to `pathtype` library.

Open patrickt opened this issue 5 years ago • 11 comments

The migration to pathtype has been overall a pleasant one—it makes functions much more indicative of their purpose, and it’s caught some bugs (though not serious ones). Right now we’re an uneasy hybrid of pathtype solutions and FilePath; we should move off of the latter completely. This involves overhauling Semantic.CLI to use pathtype; the documentation provides a recipe to make optparse-applicative parsers do the right thing (respecting the path semantics; i.e., if we tell a parser to expect an absolute path, the parser will fail unless said path is actually absolute.)

patrickt avatar Sep 29 '19 18:09 patrickt