Addition to unix: raw ByteString APIs

Johan Tibell johan.tibell at
Fri Nov 11 17:40:09 CET 2011

I'm in favor. Two comments:

* System/Posix/ByteString/FilePath.hsc sticks out a bit as it's the only
module that doesn't follow the Foo.Bar.ByteString pattern (i.e. ByteString
as the leaf module).

* Should we newtype RawSystemPath? I cannot come up with a really good
argument for it, but every time we don't hide our representations we end up
getting screwed (see String, FilePath). We could provide an IsString
instance and toPath/fromPath (or similarly named) helpers.

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list