aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes/Text
diff options
context:
space:
mode:
Diffstat (limited to 'Pipes/Text')
-rw-r--r--Pipes/Text/Encoding.hs19
1 files changed, 9 insertions, 10 deletions
diff --git a/Pipes/Text/Encoding.hs b/Pipes/Text/Encoding.hs
index 0ab6096..a8be8e4 100644
--- a/Pipes/Text/Encoding.hs
+++ b/Pipes/Text/Encoding.hs
@@ -1,26 +1,24 @@
1 1
2{-# LANGUAGE RankNTypes, BangPatterns #-} 2{-# LANGUAGE RankNTypes, BangPatterns #-}
3-- | 3-- |
4-- Copyright: 2014 Michael Thompson 4
5--
6-- This module uses the stream decoding functions from the text-stream-decoding package 5-- This module uses the stream decoding functions from the text-stream-decoding package
7-- to define pipes decoding functions and lenses. 6-- to define pipes decoding functions and lenses.
8 7
9module Pipes.Text.Encoding 8module Pipes.Text.Encoding
10 ( DecodeResult (..) 9 ( Codec
11 , Codec
12 , decodeUtf8
13 , decodeUtf8Pure
14 , decodeUtf16LE
15 , decodeUtf16BE
16 , decodeUtf32LE
17 , decodeUtf32BE
18 , utf8 10 , utf8
19 , utf8Pure 11 , utf8Pure
20 , utf16LE 12 , utf16LE
21 , utf16BE 13 , utf16BE
22 , utf32LE 14 , utf32LE
23 , utf32BE 15 , utf32BE
16 , decodeUtf8
17 , decodeUtf8Pure
18 , decodeUtf16LE
19 , decodeUtf16BE
20 , decodeUtf32LE
21 , decodeUtf32BE
24 , encodeAscii 22 , encodeAscii
25 , decodeAscii 23 , decodeAscii
26 , encodeIso8859_1 24 , encodeIso8859_1
@@ -37,6 +35,7 @@ import qualified Data.Text as T
37import qualified Data.Text.Encoding as TE 35import qualified Data.Text.Encoding as TE
38import Data.Text.StreamDecoding 36import Data.Text.StreamDecoding
39import Control.Monad (join) 37import Control.Monad (join)
38import Data.Word (Word8)
40import Pipes 39import Pipes
41 40
42 41