Portable temporary file and directory support


Version on this page:
LTS Haskell 22.29:1.3
Stackage Nightly 2024-07-13:1.3
Latest on Hackage:1.3

See all snapshots temporary appears in

BSD-3-Clause licensed
This version can be pinned in stack with:temporary-,1474

Module documentation for

Functions for creating temporary files and directories.


  • Improve the docs


  • Limit support to GHC 7.0+
  • Add new functions: writeTempFile, writeSystemTempFile, emptyTempFile, emptySystemTempFile
  • Make sure that system* functions return canonicalized paths
  • Modernize the code base, add tests and documentation

  • Update maintainership information
  • Fix the docs