Skip to content

johannesgerer/hax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Haskell cash-flow and tax simulation

Resources

License

Stars

Watchers

Forks

Packages

No packages published