haskell / filepath

Haskell FilePath core library
BSD 3-Clause "New" or "Revised" License
66 stars 33 forks source link

Split internals into their own package #200

Closed hasufell closed 7 months ago

hasufell commented 11 months ago
  1. split internals into filepath-internals package
  2. expose unsafeFromBytes in public API (previously fromBytes)
  3. rename System.OsString.Internal.Types to System.OsString.Types.Internal
  4. un-expose System.OsPath.Windows.Internal and System.OsPath.Posix.Internal

Point 2. and 4. were mostly done so that I don't have to move the entire implementation into filepath-internals. If we want to avoid those changes... this PR will become much more involved.

Also: strictly speaking, this change is not PVP compliant.