fromString package:text-show

O(1). A Builder taking a String, satisfying Performs replacement on invalid scalar values:
>>> fromString "\55555"
"\65533"
An adapter newtype, suitable for DerivingVia. The TextShow instance for FromStringShow is based on its String Show instance. That is,
showbPrec p (FromStringShow x) = showsToShowb showsPrec p x
Since: 2
An adapter newtype, suitable for DerivingVia. The TextShow1 instance for FromStringShow1 is based on its String Show1 instance. That is,
liftShowbPrec sp sl p (FromStringShow1 x) =
showsPrecToShowbPrec (liftShowsPrec (showbPrecToShowsPrec sp)
(showbToShows         sl))
p x
Since: 3
An adapter newtype, suitable for DerivingVia. The TextShow2 instance for FromStringShow2 is based on its String Show2 instance. That is,
liftShowbPrec2 sp1 sl1 sp2 sl2 p (FromStringShow2 x) =
showsPrecToShowbPrec (liftShowsPrec2 (showbPrecToShowsPrec sp1)
(showbToShows         sl1)
(showbPrecToShowsPrec sp2)
(showbToShows         sl2))
p x
Since: 3