Expose pinnedSerialize & deserialize via Streamly.Data.Array

This commit is contained in:
Adithya Kumar 2023-12-16 00:01:22 +05:30
parent b9b29b56f4
commit 00b41429d0
2 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,7 @@
## 0.2.1 (Dec 2023) ## 0.2.1 (Dec 2023)
* Make the serialization of the unit constructor deterministic. * Make the serialization of the unit constructor deterministic.
* Expose `pinnedSerialize` & `deserialize` via `Streamly.Data.Array`.
## 0.2.0 (Nov 2023) ## 0.2.0 (Nov 2023)

View File

@ -83,16 +83,20 @@ module Streamly.Data.Array
-- , (!!) -- , (!!)
, getIndex , getIndex
-- * Serialization
, pinnedSerialize
, deserialize
-- * Re-exports -- * Re-exports
, Unbox (..) , Unbox (..)
, Serialize(..)
) )
where where
#include "inline.hs" #include "inline.hs"
import Streamly.Internal.Data.Array import Streamly.Internal.Data.Array
import Streamly.Internal.Data.Unbox (Unbox (..)) import Streamly.Internal.Data.MutByteArray (Unbox(..), Serialize(..))
import Prelude hiding (read, length) import Prelude hiding (read, length)