on master help sign in
Rename Streamly.Data.Unbox to Streamly.Data.Serialize
8aee462Adithya Kumar
core/src/Streamly/Data/Unbox.hs → core/src/Streamly/Data/Serialize.hsrenamed+2−2
@@ -1,11 +1,11 @@
1-- |
1-- |
2−-- Module : Streamly.Data.Unbox
2+-- Module : Streamly.Data.Serialize
3-- Copyright : (c) 2023 Composewell Technologies
3-- Copyright : (c) 2023 Composewell Technologies
4-- License : BSD3-3-Clause
4-- License : BSD3-3-Clause
5-- Maintainer : streamly@composewell.com
5-- Maintainer : streamly@composewell.com
6-- Portability : GHC
6-- Portability : GHC
7--
7--
8−module Streamly.Data.Unbox
8+module Streamly.Data.Serialize
9 ( Unbox(..)
9 ( Unbox(..)
10 , MutableByteArray
10 , MutableByteArray
11 , deriveUnbox
11 , deriveUnbox
core/src/Streamly/Internal/Data/Unbox.hs+4−4
@@ -305,13 +305,13 @@ unpin arr@(MutableByteArray marr#) =
305-- To derive the instance via Template Haskell:
305-- To derive the instance via Template Haskell:
306--
306--
307-- @
307-- @
308−-- import Streamly.Data.Unbox (deriveUnbox)
308+-- import Streamly.Data.Serialize (deriveUnbox)
309-- $(deriveUnbox ''Object)
309-- $(deriveUnbox ''Object)
310-- @
310-- @
311--
311--
312−-- See 'Streamly.Data.Unbox.deriveUnbox' and
312+-- See 'Streamly.Data.Serialize.deriveUnbox' and
313−-- 'Streamly.Data.Unbox.deriveUnboxWith' for more information on deriving using
313+-- 'Streamly.Data.Serialize.deriveUnboxWith' for more information on deriving
314−-- Template Haskell.
314+-- using Template Haskell.
315--
315--
316-- Deriving via Template Haskell should be preferred for the following reasons:
316-- Deriving via Template Haskell should be preferred for the following reasons:
317-- 1. Instances derived via Template Haskell have more performant routines.
317-- 1. Instances derived via Template Haskell have more performant routines.
core/streamly-core.cabal+1−1
@@ -381,7 +381,7 @@ library
381 -- streamly-core released modules in alphabetic order
381 -- streamly-core released modules in alphabetic order
382 -- NOTE: these must be added to streamly.cabal as well
382 -- NOTE: these must be added to streamly.cabal as well
383 , Streamly.Console.Stdio
383 , Streamly.Console.Stdio
384− , Streamly.Data.Unbox
384+ , Streamly.Data.Serialize
385 , Streamly.Data.Array
385 , Streamly.Data.Array
386 , Streamly.Data.Array.Generic
386 , Streamly.Data.Array.Generic
387 , Streamly.Data.MutArray
387 , Streamly.Data.MutArray