Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dckc/facct
accounting utilities built on fp
https://github.com/dckc/facct
Last synced: 8 days ago
JSON representation
accounting utilities built on fp
- Host: GitHub
- URL: https://github.com/dckc/facct
- Owner: dckc
- Created: 2014-11-13T06:12:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-13T06:39:13.000Z (almost 10 years ago)
- Last Synced: 2024-10-15T21:17:41.642Z (23 days ago)
- Language: Haskell
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# facct - personal accounting tools using fp
I use a combination of GnuCash and a google docs spreadsheet for budgeting,
with a script, [budget_sync.py](https://bitbucket.org/DanC/quacken/src/tip/budget_sync.py?at=default),
to keep them in sync.I'm interested to put a web interface on it.
I'm also interested in more reliable alternatives to python (cf.
[py2scala](https://bitbucket.org/DanC/py2scala)).The haskell scotty stuff looks pretty straightforward. I'm now somewhat proficient in reading
haskell code, but whenever I sit down to write any, I'm defeated by tools or lack of libraries
or version skew or something.Tonight's experiment was to see if I could get access to my GnuCash mysql database
using credentials from the gnome keyring as I do in `budget_sync.py`.It works!
## dev notes ##
https://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program
cabal: The program 'c2hs' version >=0.16 is required but it could not be
found."you should add the following line to your Cabal file:
Build-tools: c2hs"
no joy
`cabal install c2hs` seems to be working... but shouldn't that be triggered by the .cabal file somehow?
DanC_: you've ran into a limitation of Cabal which has been outstanding since at least 2008
DanC_: https://github.com/haskell/cabal/issues/220Configuring gnome-keyring-0.3.1...
cabal: The pkg-config package 'gnome-keyring-1' is required but it could not
be found.$ sudo apt-get install libgnome-keyring-dev
TODO:
DanC_: Look into ExceptT
From transformerswhimper. no examples. http://hackage.haskell.org/package/transformers-0.4.1.0/docs/Control-Monad-Trans-Except.html
### IntelliJ IDEA haskell plugin works pretty well ###
intellij lost its marbles when I tried to rename a module
intellij takes 8 seconds to compile this little bit of code. `cabal build` is more like 3 seconds.