| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.TypedEncoding.Internal.Class.IsStringR
Documentation
>>>:set -XScopedTypeVariables -XTypeApplications -XAllowAmbiguousTypes>>>import Test.QuickCheck>>>import Test.QuickCheck.Instances.Text()>>>import Test.QuickCheck.Instances.ByteString()
class IsStringR a where Source #
Reverses IsString
laws:
toString . fromString == id fromString . toString == id
Note: ByteString is not a valid instance, ByteString "r-ASCII", or "r-UTF8" would
be needed.
B.unpack $ B.pack "160688" == "176"