on master help sign in
Rename Streamly.Data.Unbox to Streamly.Data.Serialize
commit8aee4624c9c7d78e8d6acb192c50a7dfd6924d6c authorAdithya Kumar <adithya@composewell.com> dateThu 3 Aug 2023, 13:40 (3 years ago) parentdbf9fe8
3 files changed+7−7
core/src/Streamly/Data/Unbox.hs → core/src/Streamly/Data/Serialize.hs+2−2 core/src/Streamly/Internal/Data/Unbox.hs+4−4 core/streamly-core.cabal+1−1
core/src/Streamly/Data/Unbox.hs → core/src/Streamly/Data/Serialize.hsrenamed+2−2
@@ -1,11 +1,11 @@
11-- |
2−-- Module : Streamly.Data.Unbox
2+-- Module : Streamly.Data.Serialize
33-- Copyright : (c) 2023 Composewell Technologies
44-- License : BSD3-3-Clause
55-- Maintainer : streamly@composewell.com
66-- Portability : GHC
77--
8−module Streamly.Data.Unbox
8+module Streamly.Data.Serialize
99 ( Unbox(..)
1010 , MutableByteArray
1111 , deriveUnbox
core/src/Streamly/Internal/Data/Unbox.hs+4−4
@@ -305,13 +305,13 @@ unpin arr@(MutableByteArray marr#) =
305305-- To derive the instance via Template Haskell:
306306--
307307-- @
308−-- import Streamly.Data.Unbox (deriveUnbox)
308+-- import Streamly.Data.Serialize (deriveUnbox)
309309-- $(deriveUnbox ''Object)
310310-- @
311311--
312−-- See 'Streamly.Data.Unbox.deriveUnbox' and
313−-- 'Streamly.Data.Unbox.deriveUnboxWith' for more information on deriving using
314−-- Template Haskell.
312+-- See 'Streamly.Data.Serialize.deriveUnbox' and
313+-- 'Streamly.Data.Serialize.deriveUnboxWith' for more information on deriving
314+-- using Template Haskell.
315315--
316316-- Deriving via Template Haskell should be preferred for the following reasons:
317317-- 1. Instances derived via Template Haskell have more performant routines.
core/streamly-core.cabal+1−1
@@ -381,7 +381,7 @@ library
381381 -- streamly-core released modules in alphabetic order
382382 -- NOTE: these must be added to streamly.cabal as well
383383 , Streamly.Console.Stdio
384− , Streamly.Data.Unbox
384+ , Streamly.Data.Serialize
385385 , Streamly.Data.Array
386386 , Streamly.Data.Array.Generic
387387 , Streamly.Data.MutArray