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