| Stability | Stable |
|---|---|
| Maintainer | v.dijk.bas@gmail.com |
Data.String.ToString
Description
Documentation
Class of string-like types that can be converted to Strings.
Ensure that instances of this class 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