Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
javcasas
on March 26, 2021
|
parent
|
context
|
favorite
| on:
Why OO Sucks by Joe Armstrong (2000)
Or you use -XOverloadedStrings and then you also have in Haskell multiple representations that follow a single polymorphic interface.
millstone
on March 26, 2021
[–]
It does not. -XOverloadedStrings unlocks `fromString :: String -> a.` That is not a polymorphic string interface; it's just syntax sugar for making something else from a string literal.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: