@@ -257,7 +257,7 @@ import Data.Binary.FloatCast (wordToFloat, wordToDouble)
257257-- If it succeeds it will return 'Done' with the resulting value,
258258-- the position and the remaining input.
259259
260- -- | A decoder procuced by running a 'Get' monad.
260+ -- | A decoder produced by running a 'Get' monad.
261261data Decoder a = Fail ! B. ByteString {- # UNPACK #-} !ByteOffset String
262262 -- ^ The decoder ran into an error. The decoder either used
263263 -- 'fail' or was not provided enough input. Contains any
@@ -421,7 +421,7 @@ getRemainingLazyByteString :: Get L.ByteString
421421getRemainingLazyByteString = withInputChunks () consumeAll L. fromChunks resumeOnEOF
422422
423423------------------------------------------------------------------------
424- -- Primtives
424+ -- Primitives
425425
426426-- helper, get a raw Ptr onto a strict ByteString copied out of the
427427-- underlying lazy byteString.
@@ -586,7 +586,7 @@ getWord32host :: Get Word32
586586getWord32host = getPtr (sizeOf (undefined :: Word32 ))
587587{-# INLINE getWord32host #-}
588588
589- -- | /O(1)./ Read a Word64 in native host order and host endianess .
589+ -- | /O(1)./ Read a Word64 in native host order and host endianness .
590590getWord64host :: Get Word64
591591getWord64host = getPtr (sizeOf (undefined :: Word64 ))
592592{-# INLINE getWord64host #-}
@@ -607,7 +607,7 @@ getInt32host :: Get Int32
607607getInt32host = getPtr (sizeOf (undefined :: Int32 ))
608608{-# INLINE getInt32host #-}
609609
610- -- | /O(1)./ Read an Int64 in native host order and host endianess .
610+ -- | /O(1)./ Read an Int64 in native host order and host endianness .
611611getInt64host :: Get Int64
612612getInt64host = getPtr (sizeOf (undefined :: Int64 ))
613613{-# INLINE getInt64host #-}
0 commit comments