Copyright | (c) 2016 Stephen Diehl (c) 2016-2018 Serokell (c) 2018-2021 Kowainik |
---|---|
License | MIT |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Stable |
Portability | Portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Type classes for conversion between different string representations.
The table below represents the relude
concept of conversion between the following types:
Synopsis
- fromText :: IsString a => Text -> a
- module Incipit.String.Reexport
- module Incipit.String.Conversion
Documentation
fromText :: IsString a => Text -> a Source #
Analog to fromString
for Text
.
Converts a Text
to any a
that is an instance of IsString
.
module Incipit.String.Reexport
Reexport data types and functions to work with Text
, ByteString
,
ShortByteString
.
module Incipit.String.Conversion
Conversion functions between Text
, String
, ByteString
.
Also some read|show helper functions.