4 ms·
Can hledger be run in a Haskell repl? That sounds way more useful than a command line terminal. (Otherwise I'm not sure why it matters whether it was written in
by notfed 3y ago
Can hledger be run in a Haskell repl? That sounds way more useful than a command line terminal. (Otherwise I'm not sure why it matters whether it was written in Haskell?)
- whateveracct 3y agoYep it has a Haskell interface! That's one common feature of many Haskell CLIs - they tend to be a statically typed library thinly wrapped into a CLI.
- wbadart 3y agoMy favorite part of the (extensive) Haskell API is `Hledger.Cli.Script` [0]. It re-exports all the most commonly used functions and data types, meaning you're just one import away from everything you need to get started. [0]: https://hackage.haskell.org/package/hledger-1.32.3/docs/Hledger-Cli-Script.html https://hackage.haskell.org/package/hledger-1.32.3/docs/Hled...
- maxcoder4 3y ago>Otherwise I'm not sure why it matters whether it was written in Haskell? It's a common trope with less popular languages. Often when I check out some project on GitHub, the first "feature" in the readme is "written in rust".