on master help sign in
Add some renaming suggestions in MutArray
commit0f6bdbe4c983b49c5ee75c482f0173640ab1acb6 authorHarendra Kumar <harendra@composewell.com> dateFri 12 Jan 2024, 09:02 (3 years ago) parenteac9294
1 file changed+4−4
core/src/Streamly/Internal/Data/MutArray/Type.hs+4−4
core/src/Streamly/Internal/Data/MutArray/Type.hs+4−4
@@ -97,7 +97,7 @@ module Streamly.Internal.Data.MutArray.Type
9797 , fromByteStr#
9898 , fromPtrN
9999 , fromChunksK
100− , fromChunksRealloced
100+ , fromChunksRealloced -- fromSmallChunks
101101
102102 -- ** Random writes
103103 , putIndex
@@ -214,12 +214,12 @@ module Streamly.Internal.Data.MutArray.Type
214214 -- ** Serialization using Unbox
215215 , pokeAppend
216216 , pokeAppendMay
217− , pokeSkipUnsafe
217+ , pokeSkipUnsafe -- unsafePokeSkip
218218
219219 -- ** Deserialization using Unbox
220220 , peekUncons
221− , peekUnconsUnsafe
222− , peekSkipUnsafe
221+ , peekUnconsUnsafe -- unsafePeekUncons
222+ , peekSkipUnsafe -- unsafePeekSkip
223223
224224 -- Arrays of arrays
225225 -- We can add dimensionality parameter to the array type to get