System.Posix.IO.ByteString
Herbert Valerio Riedel
hvr at gnu.org
Sun Jan 11 13:18:23 UTC 2015
On 2015-01-11 at 01:22:34 +0100, Brandon Allbery wrote:
[...]
> The "ByteString" in the SYstem.Posix.*.ByteString modules applies to the
> pathnames (POSIX pathnames are byte strings, and there's lots of ways to
> cause problems if you insist on pretending that they are in any particular
> encoding), not the values being read/written, so functions like that are
> basically carried along just to provide a mostly compatible API.
>
> I would expect to find functions working with ByteString values under
> Data.ByteString.
However those take [Char] as FilePath argument... where would you look
if you wanted to functions that used ByteStrings for both, filepaths and
content?
Cheers,
hvr
More information about the Libraries
mailing list