@@ -203,8 +203,8 @@ instance Show Decoding where
203 showString "Some " . showsPrec (prec+1) t
203 showString "Some " . showsPrec (prec+1) t
204 where prec = 10
204 where prec = 10
206−newtype CodePoint = CodePoint Word32 deriving (Num, Storable)
206+newtype CodePoint = CodePoint Word32 deriving (Eq, Show, Num, Storable)
207−newtype DecoderState = DecoderState Word32 deriving (Eq, Num, Storable)
207+newtype DecoderState = DecoderState Word32 deriving (Eq, Show, Num, Storable)
209-- | Decode, in a stream oriented way, a 'ByteString' containing UTF-8
209-- | Decode, in a stream oriented way, a 'ByteString' containing UTF-8
210-- encoded text that is known to be valid.
210-- encoded text that is known to be valid.