Hacker News new | ask | show | jobs
by javcasas 1906 days ago
Or you use -XOverloadedStrings and then you also have in Haskell multiple representations that follow a single polymorphic interface.
1 comments

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.