instance Read t => IsString t where fromString = read
main = if "True" then print "1" else error undefined
if there is one line of code that makes all haskellers throw up in their mouth a little bit, it's probably that instance.
(Or some other instance.)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!