A utility, which uses the
Show instance to produce a value that
is isomorphic to
String.
It lets you generalize over the functions like the following:
showAsText :: Show a => a -> Text
showAsText = showAs @Text
showAsBuilder :: Show a => a -> Builder
showAsBuilder = showAs @Builder