Sort imports. Add release date to changelog.

This commit is contained in:
Andrew Martin 2019-11-20 14:35:49 -05:00
parent 4f8ea31b73
commit ae5d17ce5c
5 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# Revision history for small-bytearray-builder # Revision history for small-bytearray-builder
## 0.3.1.0 -- 2019-??-?? ## 0.3.1.0 -- 2019-11-20
* Add big-endian and little-endian parsers for `Word128`. This includes * Add big-endian and little-endian parsers for `Word128`. This includes
both the single and multiple element variants. both the single and multiple element variants.

View file

@ -119,11 +119,11 @@ import GHC.ST (ST(ST))
import qualified Arithmetic.Nat as Nat import qualified Arithmetic.Nat as Nat
import qualified Arithmetic.Types as Arithmetic import qualified Arithmetic.Types as Arithmetic
import qualified GHC.Exts as Exts
import qualified Data.Text.Short as TS
import qualified Data.Primitive as PM
import qualified Data.ByteArray.Builder.Bounded as Bounded import qualified Data.ByteArray.Builder.Bounded as Bounded
import qualified Data.ByteArray.Builder.Bounded.Unsafe as UnsafeBounded import qualified Data.ByteArray.Builder.Bounded.Unsafe as UnsafeBounded
import qualified Data.Primitive as PM
import qualified Data.Text.Short as TS
import qualified GHC.Exts as Exts
-- | Run a builder. -- | Run a builder.
run :: run ::

View file

@ -90,9 +90,9 @@ import GHC.ST (ST(ST))
import GHC.TypeLits (type (+)) import GHC.TypeLits (type (+))
import GHC.Word (Word8(W8#),Word16(W16#),Word32(W32#),Word64(W64#)) import GHC.Word (Word8(W8#),Word16(W16#),Word32(W32#),Word64(W64#))
import qualified Arithmetic.Types as Arithmetic
import qualified Arithmetic.Nat as Nat
import qualified Arithmetic.Lte as Lte import qualified Arithmetic.Lte as Lte
import qualified Arithmetic.Nat as Nat
import qualified Arithmetic.Types as Arithmetic
import qualified Data.ByteArray.Builder.Bounded.Unsafe as Unsafe import qualified Data.ByteArray.Builder.Bounded.Unsafe as Unsafe
import qualified Data.Primitive as PM import qualified Data.Primitive as PM

View file

@ -16,12 +16,12 @@ module Data.ByteArray.Builder.Bounded.Unsafe
, pasteIO , pasteIO
) where ) where
import GHC.TypeLits (Nat)
import Data.Kind (Type) import Data.Kind (Type)
import Data.Primitive (MutableByteArray(..))
import GHC.Exts (Int(I#),RealWorld,Int#,State#,MutableByteArray#)
import GHC.IO (stToIO) import GHC.IO (stToIO)
import GHC.ST (ST(ST)) import GHC.ST (ST(ST))
import GHC.Exts (Int(I#),RealWorld,Int#,State#,MutableByteArray#) import GHC.TypeLits (Nat)
import Data.Primitive (MutableByteArray(..))
-- | A builder parameterized by the maximum number of bytes it uses -- | A builder parameterized by the maximum number of bytes it uses
-- when executed. -- when executed.

View file

@ -33,10 +33,10 @@ import GHC.Exts (Addr#,ByteArray#,MutableByteArray#,Int(I#),Ptr(Ptr))
import GHC.Exts (IsString,Int#,State#) import GHC.Exts (IsString,Int#,State#)
import GHC.ST (ST(ST)) import GHC.ST (ST(ST))
import qualified GHC.Exts as Exts
import qualified Data.ByteArray.Builder.Bounded as Bounded import qualified Data.ByteArray.Builder.Bounded as Bounded
import qualified Data.ByteArray.Builder.Bounded.Unsafe as UnsafeBounded import qualified Data.ByteArray.Builder.Bounded.Unsafe as UnsafeBounded
import qualified Data.Primitive as PM import qualified Data.Primitive as PM
import qualified GHC.Exts as Exts
-- | An unmaterialized sequence of bytes that may be pasted -- | An unmaterialized sequence of bytes that may be pasted
-- into a mutable byte array. -- into a mutable byte array.