on master help sign in
Expose pinnedSerialize & deserialize via Streamly.Data.Array
00b4142Adithya Kumar
core/docs/Changelog.md+1
@@ -3,6 +3,7 @@
3## 0.2.1 (Dec 2023)
3## 0.2.1 (Dec 2023)
4
4
5* Make the serialization of the unit constructor deterministic.
5* Make the serialization of the unit constructor deterministic.
6+* Expose `pinnedSerialize` & `deserialize` via `Streamly.Data.Array`.
6
7
7## 0.2.0 (Nov 2023)
8## 0.2.0 (Nov 2023)
8
9
core/src/Streamly/Data/Array.hs+6−2
@@ -83,16 +83,20 @@ module Streamly.Data.Array
83 -- , (!!)
83 -- , (!!)
84 , getIndex
84 , getIndex
85
85
86+ -- * Serialization
87+ , pinnedSerialize
88+ , deserialize
89+
86 -- * Re-exports
90 -- * Re-exports
87 , Unbox (..)
91 , Unbox (..)
88−
92+ , Serialize(..)
89 )
93 )
90where
94where
91
95
92#include "inline.hs"
96#include "inline.hs"
93
97
94import Streamly.Internal.Data.Array
98import Streamly.Internal.Data.Array
95−import Streamly.Internal.Data.Unbox (Unbox (..))
99+import Streamly.Internal.Data.MutByteArray (Unbox(..), Serialize(..))
96
100
97import Prelude hiding (read, length)
101import Prelude hiding (read, length)
98
102