Resolving dependencies... Configuring text-stream-decode-0.1.0... Building text-stream-decode-0.1.0... Preprocessing library text-stream-decode-0.1.0... [1 of 6] Compiling Data.Text.Internal.Unsafe.Shift ( text/Data/Text/Internal/Unsafe/Shift.hs, dist/build/Data/Text/Internal/Unsafe/Shift.o ) [2 of 6] Compiling Data.Text.Internal.Unsafe.Char ( text/Data/Text/Internal/Unsafe/Char.hs, dist/build/Data/Text/Internal/Unsafe/Char.o ) [3 of 6] Compiling Data.Text.Internal.Encoding.Utf8 ( text/Data/Text/Internal/Encoding/Utf8.hs, dist/build/Data/Text/Internal/Encoding/Utf8.o ) [4 of 6] Compiling Data.Text.Internal.Encoding.Utf32 ( text/Data/Text/Internal/Encoding/Utf32.hs, dist/build/Data/Text/Internal/Encoding/Utf32.o ) [5 of 6] Compiling Data.Text.Internal.Encoding.Utf16 ( text/Data/Text/Internal/Encoding/Utf16.hs, dist/build/Data/Text/Internal/Encoding/Utf16.o ) [6 of 6] Compiling Data.Text.StreamDecoding ( Data/Text/StreamDecoding.hs, dist/build/Data/Text/StreamDecoding.o ) In-place registering text-stream-decode-0.1.0... Running Haddock for text-stream-decode-0.1.0... Running hscolour for text-stream-decode-0.1.0... Preprocessing library text-stream-decode-0.1.0... Preprocessing library text-stream-decode-0.1.0... dist/build/tmp-4836/Data/Text/StreamDecoding.hs:25:1: parse error on input `-- | Provides a stream-based approach to decoding Unicode data. Each function -- below works the same way: you give it a chunk of data, and it gives back a -- @DecodeResult@. If the parse was a success, then you get a chunk of @Text@ -- (possibly empty) and a continuation parsing function. If the parse was a -- failure, you get a chunk of successfully decoded @Text@ (possibly empty) and -- the unconsumed bytes. -- -- In order to indicate end of stream, you pass an empty @ByteString@ to the -- decode function. This call may result in a failure, if there were unused -- bytes left over from a previous step which formed part of a code sequence.' Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/text-stream-decode-0.1.0 Registering text-stream-decode-0.1.0... Installed text-stream-decode-0.1.0