Skip to content
Haskell cash-flow and tax simulation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Documents
src
static
.gitignore
.travis.yml
LICENSE
README.md
Setup.hs
charts.png
hax.cabal
ledger.png
stack.yaml

README.md

hax Build Status Hackage

A library for cash-flow and tax simulations. The type system is used to ensure correctness e.g. of double-entry accounting, and the correct calculation of taxes. The use of Haskell's do-notation and type-classes permit an almost verbatim translation of the tax code into the program.

It currently includes personal income tax (Einkommensteuer), corporate tax (Körperschaftsteuer) and trade/business tax (Gewerbesteuer), but could easily be extended to other legal systems

Usage

stack build  #only once to install dependencies

stack runghc -- -isrc src/main

will produce a folder named html containing the results of the HAX.Example that commes with this library. The look at the full ledger in html/index.html or the charts static/charts.html.

Documentation

The docs on Hackage are quite comprehensive (with some parts in German).

Srceenshots

ledger

Charts

charts

You can’t perform that action at this time.