diff options
Diffstat (limited to 'Pipes/Text/Internal/Codec.hs')
-rw-r--r-- | Pipes/Text/Internal/Codec.hs | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Pipes/Text/Internal/Codec.hs b/Pipes/Text/Internal/Codec.hs index 63cbd74..075a152 100644 --- a/Pipes/Text/Internal/Codec.hs +++ b/Pipes/Text/Internal/Codec.hs | |||
@@ -4,17 +4,15 @@ | |||
4 | -- Copyright: 2014 Michael Thompson, 2011 Michael Snoyman, 2010-2011 John Millikin | 4 | -- Copyright: 2014 Michael Thompson, 2011 Michael Snoyman, 2010-2011 John Millikin |
5 | -- License: MIT | 5 | -- License: MIT |
6 | -- This Parts of this code were taken from enumerator and conduits, and adapted for pipes | 6 | -- This Parts of this code were taken from enumerator and conduits, and adapted for pipes |
7 | {- | This module follows the model of the enumerator and conduits libraries, and defines | 7 | |
8 | 'Codec' s for various encodings. Note that we do not export a 'Codec' for ascii and | 8 | -- This module follows the model of the enumerator and conduits libraries, and defines |
9 | iso8859_1. A 'Lens' in the sense of the pipes library cannot be defined for these, so | 9 | -- 'Codec' s for various encodings. Note that we do not export a 'Codec' for ascii and |
10 | special functions appear in @Pipes.Text@ | 10 | -- iso8859_1. A 'Lens' in the sense of the pipes library cannot be defined for these, so |
11 | -} | 11 | -- special functions appear in @Pipes.Text@ |
12 | |||
12 | 13 | ||
13 | module Pipes.Text.Internal.Codec | 14 | module Pipes.Text.Internal.Codec |
14 | ( Decoding(..) | 15 | ( Codec(..) |
15 | , streamDecodeUtf8 | ||
16 | , decodeSomeUtf8 | ||
17 | , Codec(..) | ||
18 | , TextException(..) | 16 | , TextException(..) |
19 | , utf8 | 17 | , utf8 |
20 | , utf16_le | 18 | , utf16_le |