Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Technical debt (or, mortgages in Haskell)
(
nobugs.org
)
29 points
by
dons
on Nov 22, 2009
|
hide
|
past
|
favorite
|
5 comments
dfranke
on Nov 22, 2009
|
next
[–]
I'm not sure whether I should be impressed or horrified by that postfix hack.
mark_h
on Nov 22, 2009
|
parent
|
next
[–]
Even 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 :)
chancho
on Nov 22, 2009
|
parent
|
prev
|
next
[–]
instance Num (MONEY -> Currency) where ...
Any hack with type "Money -> Currency" fits firmly in the "horrific" column.
_hgt1
on Nov 22, 2009
|
prev
[–]
I'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
on Nov 23, 2009
|
parent
[–]
Upload it to Google docs and share it with everyone.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: