Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
javcasas
· 5y ago · 0 comments
Or you use -XOverloadedStrings and then you also have in Haskell multiple representations that follow a single polymorphic interface.
Comments
[–]
millstone
5y ago
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.