Firstly, take a look at this question. Maybe you will be satisfied with toString function.
Secondly, show is a function that maps some value to a String.
So, it makes sense that quotes should be escaped:
> show "string"
"\"string\""
Is there a function that works like
fthat I’ve described above?
Seems like you’re looking for id:
> putStrLn $ id "string"
string
> putStrLn $ show "string"
"string"