A portable POSIX-compatibility layer for Haskell
open sourceBSD-3-Clausefree
unix-compat is a Haskell package with portable implementations of parts of the unix package: where unix is available it re-exports it, and where it isn't it uses its own portable versions, so code written against POSIX functions builds on more platforms. It was written by Björn Bringert, Duncan Coutts, Jacob Stanley and Bryan O'Sullivan and is now maintained by the Haskell package janitors.
Problems it solves
- make my Haskell program that uses the unix package build on Windows
- use POSIX file functions in Haskell code that also has to build where the unix package isn't available
- cross-platform POSIX functions for a Haskell library
Features
- portable implementations of parts of the unix package
- re-exports unix where it's available
- portable fallbacks where the unix package isn't available
Alternatives
The same job
These do what unix-compat does.
- unix (Haskell) POSIX functionality for Haskell
- Win32 (Haskell) Direct Haskell bindings to the Windows Win32 API
