haskell / unix

POSIX functionality
https://hackage.haskell.org/package/unix
Other
107 stars 92 forks source link

Make error strings consistent #288

Closed hasufell closed 1 year ago

hasufell commented 1 year ago

System.Posix.ByteString.FilePath just unpacks, while System.Posix.PosixPath.FilePath tried to be smart and decode with UTF (without failing).

This divergence was discussed here:


Although the discussion at the CLC tracker hasn't come to a conclusion yet, I'm setting this up as the favorite approach so far. I suggest that we also augment the documentation in base.

@vdukhovni @Bodigrim

hasufell commented 1 year ago

Abandoned in favor of https://github.com/haskell/unix/pull/289