4 ms·
Technical debt (or, mortgages in Haskell)
- adnam 17y agoI've got a pretty good spreadsheet for calculating Mortgages and payments etc. It's one used by a bank - if anyone wants a copy, mail me.
- thwarted 17y agoUpload it to Google docs and share it with everyone.
- dfranke 17y agoI'm not sure whether I should be impressed or horrified by that postfix hack.
- chancho 17y agoinstance Num (MONEY -> Currency) where ... Any hack with type "Money -> Currency" fits firmly in the "horrific" column.
- mark_h 17y agoEven better is to follow up the original usage of that hack, by Lenart Augustsson (pretty much everything he does impresses me), where he embeds a BASIC interpreter in haskell and uses it to make 10 PRINT "hello" valid :)