easy-file: Cross-platform File handling

[ bsd3, library, system ] [ Propose Tags ] [ Report a vulnerability ]

Cross-platform File handling for Unix/Mac/Windows


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6
Change log ChangeLog.md
Dependencies base (>=4.16 && <5), directory, filepath, time, unix, Win32 [details]
Tested with ghc ==9.14.1, ghc ==9.12.4, ghc ==9.10.3, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8
License BSD-3-Clause
Author Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer Kazu Yamamoto <kazu@iij.ad.jp>
Uploaded by KazuYamamoto at 2026-11-03T06:17:36Z
Category System
Home page http://github.com/kazu-yamamoto/easy-file
Source repo head: git clone https://github.com/kazu-yamamoto/easy-file.git
Distributions Arch:0.2.6, Fedora:0.2.5, LTSHaskell:0.2.6, Stackage:0.2.6
Reverse Dependencies 7 direct, 4435 indirect [details]
Downloads 77609 total (127 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-11-03 [all 1 reports]

Readme for easy-file-0.2.6

[back to package description]

GitHub Actions status

Easy file handling for Haskell

This is a Haskell package of cross-platform file handling for Unix/Mac/Windows.

The current Haskell modules have following shortcomings:

  • getModificationTime exists in System.Directory. But getAccessTime, getStatusChangeTime, getCreationTime do not exist.

  • getModificationTime returns obsoleted type, ClockTime. It should return modern type, UTCTime, I believe.

  • Some file functions are missing. A function to tell the link counter, for instance.

  • Path separator is not unified. Even though Windows accepts '/' as a file separator, getCurrentDirectory in System.Directory returns '\' as a file separator. So, we need to specify regular expression like this: "[/\]foo[/\]bar[/\]baz".

  • getHomeDirectory returns HOMEDRIVE/HOMEPATH instead of the HOME environment variable on Windows.

This package aims to resolve these problems.