Stability | Stable |
---|---|
Maintainer | v.dijk.bas@gmail.com |
Documentation
Class of string-like types that can be converted to String
s.
Ensure that types that have an instance for this class and also have an
instance for IsString
obey the prop_fromToString
law.
fromToString :: (IsString s2, ToString s1) => s1 -> s2Source
General coercion between string-like types.
Note that: fromToString =
fromString
. toString
prop_fromToString :: (IsString s, ToString s, Eq s) => s -> BoolSource
prop_fromToString x = fromToString
x == x