In favour of


Consistent filesystem interaction across GHC versions (deprecated)

LTS Haskell 22.29:
Stackage Nightly 2024-07-13:
Latest on Hackage:

See all snapshots system-fileio appears in

MIT licensed by John Millikin
Maintained by FP Complete
This version can be pinned in stack with:system-fileio-,2127

Module documentation for


Please see deprecation announcement

This is a small wrapper around the directory, unix, and Win32 packages, for use with system-filepath. It provides a consistent API to the various versions of these packages distributed with different versions of GHC.

In particular, this library supports working with POSIX files that have paths which can’t be decoded in the current locale encoding.


Changelog for system-fileio

  • Fix for Win32 2.6 and above #21

  • withHANDLE (Win32) now works on directories #8 #10

  • Use different path encoding on Darwin in POSIX tests #6


Maintenance taken over by FP Complete.