Skip to content

Reconsider internal representation of FsPaths #68

Open
@jorisdral

Description

@jorisdral

The current FsPath representation as [Text] is not very ergonomic. We should reconsider whether we want to pick a different internal representation, maybe something like an OsPath or Vector.

If we pick OsPath (or even FilePath) as the internal representation, with sufficient invariants to ensure that they form sensible relative paths, then we could probably simplify the implementation of a number of FsPath combinator and conversion functions. For example, (</>) on FsPaths could be a simple wrapper around (</>) on OsPaths/FilePaths. FilePaths would, however, probably not be more performant than the current [Text] representation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions