The eddie package

[Tags: bsd3, program]

A tool to let you use short haskell expressions to filter files at the command line.

[Skip to ReadMe]


Versions0.1, 0.2, 0.5, 0.5.1, 1.0.0
Change logNone available
Dependenciesbase (>=4.2.0 && <5), bifunctors (>=4.2), classy-prelude (>=0.12), hint (>=, optparse-applicative (>=0.11), safe (>=0.3.8) [details]
Copyright(c) 2014 Mike Meyer
AuthorMike Meyer
CategoryCLI tool
Home page
Source repositoryhead: SourceRepo {repoKind = RepoHead, repoType = Just (OtherRepoType "fs"), repoLocation = Just "", repoModule = Nothing, repoBranch = Nothing, repoTag = Nothing, repoSubdir = Nothing}
this: SourceRepo {repoKind = RepoThis, repoType = Just (OtherRepoType "fs"), repoLocation = Just "", repoModule = Nothing, repoBranch = Nothing, repoTag = Just "1.0.0", repoSubdir = Nothing}
UploadedWed May 27 21:26:37 UTC 2015 by MikeMeyer
Downloads747 total (35 in last 30 days)
0 []
StatusDocs not available [build log]
Last success reported on 2015-09-28 [all 3 reports]


Maintainers' corner

For package maintainers and hackage trustees

Readme for eddie-1.0.0

What is eddie?

A command line tool for running Haskell functions over text files.

It is also useful for prototyping Haskell text processing functions that you will later copy into a program.

Why is eddie?

This project actually started in response to a code bounty for a clojure shell scripting tool. That resulted in a specification for the requested program that had all the features of eddie, and then some. However, clojure code embedded on the command line looks clumsy, so the project was shelved.

In haskell, functional expression are much simpler and more elegant. In particular, in looking for haskell command line tools, I found, which convinced me that the original design would be not merely usable, but elegant if the expressions were done in haskell. Hence, eddie.

Why not ghc -e?

Eddie adds features to make using it for shell scripting easier:

More information

The best place to start is the manual. That's available in the source tree in both man format in eddie.1, and in html in eddie.html. The latter is also available online.


Install or build with cabal as usual.


Testing is done with the haskell shelltestrunner package (which can be installed with cabal). Run shelltest tests in the source directory to run the tests with the currently installed eddie. Use shelltest tests -w eddie.hs to run them using the current source. Use shelltest tests -w dist/build/eddie/eddie to run them with the compiled binary.


The documenation is built with pandoc from Use the -s flag, and convert from pandoc's markdown to your chosen format.