Closed yellowbean closed 3 weeks ago
current logic:
case fruit of
Just apple ->
if testSweet apple then
<ProcessA>
else
<ProcessB>
Nothing ->
<ProcessB>
Done with : https://stackoverflow.com/questions/79152742/how-to-factor-out-duplication-code-haskell-maybe-if-else
current implementation
The clean up test only was performed at beginning of bond waterfall execution (which is defined by "bond payment frequency"
Propose
The clean up test should be performed in multiple locations
DatePattern
to be testedLocation of changes:
in Deal Run assumption
Syntax
current syntax
The statement will be executed right before each waterfall/liability payment day
new syntax