issues
search
yellowbean
/
Hastructure
ABS/MBS cashflow engine written in Haskell, with API to Python and C/Java (on the way)
https://deal-bench.xyz
Other
16
stars
4
forks
source link
Log refactor with MonadReader/Writer
#32
Open
yellowbean
opened
1 year ago
yellowbean
commented
1 year ago
https://www.adit.io/posts/2013-06-10-three-useful-monads.html
http://cmsc-16100.cs.uchicago.edu/2021-autumn/Lectures/15/writer-reader.php
https://mmhaskell.com/monads/reader-writer
yellowbean
commented
1 year ago
there are two places I can think of to refactor :
factor out logs during the run
factor our the RunContext which contains the pool flow and pool assumptions