mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Remove Streamly.Data.Unbox module
This commit is contained in:
parent
879c24e774
commit
6690046f41
@ -53,7 +53,8 @@
|
||||
|
||||
module Streamly.Data.Array.Unboxed
|
||||
(
|
||||
A.Array
|
||||
Unbox (..)
|
||||
, A.Array
|
||||
|
||||
-- * Arrays
|
||||
-- ** Construction
|
||||
@ -93,6 +94,7 @@ module Streamly.Data.Array.Unboxed
|
||||
where
|
||||
|
||||
import Streamly.Internal.Data.Array.Unboxed as A
|
||||
import Streamly.Internal.Data.Unboxed (Unbox (..))
|
||||
|
||||
-- $setup
|
||||
-- >>> :m
|
||||
|
@ -13,7 +13,8 @@
|
||||
|
||||
module Streamly.Data.Array.Unboxed.Mut
|
||||
(
|
||||
Array
|
||||
Unbox (..)
|
||||
, Array
|
||||
|
||||
-- * Arrays
|
||||
-- ** Construction
|
||||
@ -58,3 +59,4 @@ where
|
||||
|
||||
import Prelude hiding (length, read)
|
||||
import Streamly.Internal.Data.Array.Unboxed.Mut
|
||||
import Streamly.Internal.Data.Unboxed (Unbox (..))
|
||||
|
@ -1,28 +0,0 @@
|
||||
-- |
|
||||
-- Module : Streamly.Data.Unbox
|
||||
-- Copyright : (c) 2022 Composewell Technologies
|
||||
--
|
||||
-- License : BSD3
|
||||
-- Maintainer : streamly@composewell.com
|
||||
-- Stability : released
|
||||
-- Portability : GHC
|
||||
--
|
||||
-- This module provides the 'Unbox' type class for converting Haskell values to
|
||||
-- unboxed representation in a 'MutableByteArray' and boxing values from
|
||||
-- 'MutableByteArray' to create Haskell representation.
|
||||
--
|
||||
|
||||
module Streamly.Data.Unbox
|
||||
(
|
||||
Unbox(..)
|
||||
, MutableByteArray(..)
|
||||
)
|
||||
where
|
||||
|
||||
import Streamly.Internal.Data.Unboxed (Unbox(..), MutableByteArray(..))
|
||||
|
||||
-- $setup
|
||||
-- >>> :m
|
||||
-- >>> :set -XFlexibleContexts
|
||||
-- >>> :set -package streamly
|
||||
-- >>> import Streamly.Internal.Data.Unboxed (Unbox(..), MutableByteArray(..))
|
@ -352,7 +352,6 @@ library
|
||||
-- streamly-core exposed modules
|
||||
, Streamly.Data.Stream
|
||||
, Streamly.Data.Stream.Zip
|
||||
, Streamly.Data.Unbox
|
||||
, Streamly.Data.Fold
|
||||
, Streamly.Data.Fold.Tee
|
||||
, Streamly.Data.Parser
|
||||
|
@ -4,10 +4,9 @@
|
||||
## 0.9.0 (Unreleased)
|
||||
|
||||
* Remove support for GHC 8.4.*
|
||||
* The unboxed arrays now require `Unbox` instance along with `Storable` for the
|
||||
stored type. The `Unbox` typeclass can be found in `Streamly.Data.Unbox`.
|
||||
* New modules for unboxed mutable & unboxed immutable arrays are added.
|
||||
* A new module dedicated for unboxing is added.
|
||||
* The unboxed arrays now require `Unbox` instead of `Storable` for the stored
|
||||
type. The `Unbox` typeclass can be found in `Streamly.Data.Array.Unboxed`.
|
||||
|
||||
* Following APIs have been renamed in Streamly.Network.Socket module:
|
||||
readWithBufferOf -> readWith
|
||||
|
Loading…
Reference in New Issue
Block a user