Abstract FilePath Proposal
M Farkas-Dyck
strake888 at gmail.com
Sat Jul 4 01:22:19 UTC 2015
On 27/06/2015, Yitzchak Gale <gale at sefer.org> wrote:
> OK, based on what David and Brandon wrote, I guess
> that representing paths as bytestrings does make
> some low-level sense on all platforms.
Not quite: in 9p for example, each component is a byte string, and a
path is a list of components.
9p forbids null bytes in a component tho, so one could use it as a
separator in FilePath.
That said, this is an edge case and (file path ~ byte string) may be
good enough.
More information about the Libraries
mailing list