“Coreutils” is a project that implements Unix core utilities in Haskell, focusing on idiomatic, fast, lazy IO with feature parity to BSD utils. With complete testing and platform independence, it offers utilities like “ls,” “cat,” and more. The project compiles to a single executable that auto-detects which utility to call based on the binary name. Testing is thorough, but some unusual usage exists, like unnecessary stdin reads in build scripts. For trying it out without full commitment, users can call utilities by name as arguments. Symlinking utilities to the $PATH variable allows for easy access in Linux, FreeBSD, and MacOS environments, with adaptions needed for Windows.
https://github.com/Gandalf-/coreutils