Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
reverseBits :: Vector Bit -> Vector Bitbitvec Data.Bit Reverse the order of bits.
>>> :set -XOverloadedLists >>> reverseBits [1,1,0,1,0] [0,1,0,1,1]
Consider using the vector-rotcev package to reverse vectors in O(1) time.reverseInPlace :: PrimMonad m => MVector (PrimState m) Bit -> m ()bitvec Data.Bit Reverse the order of bits in-place.
>>> :set -XOverloadedLists >>> Data.Vector.Unboxed.modify reverseInPlace [1,1,0,1,0] [0,1,0,1,1]
Consider using the vector-rotcev package to reverse vectors in O(1) time.reverseBits :: Vector Bit -> Vector Bitbitvec Data.Bit.ThreadSafe Reverse the order of bits.
>>> :set -XOverloadedLists >>> reverseBits [1,1,0,1,0] [0,1,0,1,1]
Consider using the vector-rotcev package to reverse vectors in O(1) time.reverseInPlace :: PrimMonad m => MVector (PrimState m) Bit -> m ()bitvec Data.Bit.ThreadSafe Reverse the order of bits in-place.
>>> :set -XOverloadedLists >>> Data.Vector.Unboxed.modify reverseInPlace [1,1,0,1,0] [0,1,0,1,1]
Consider using the vector-rotcev package to reverse vectors in O(1) time.reversedOnto :: Int -> Builder -> Chunks -> Chunksbytebuild Data.Bytes.Builder Variant of runOnto that conses the additional chunks in reverse order.
reverseCommitsOntoChunks :: Chunks -> Commits s -> ST s Chunksbytebuild Data.Bytes.Builder.Unsafe Cons the chunks from a list of Commits onto an initial Chunks list (this argument is often ChunksNil). This reverses the order of the chunks, which is desirable since builders assemble Commits with the chunks backwards. This performs an in-place shrink and freezes any mutable byte arrays it encounters. Consequently, these must not be reused.
reverseSubforests :: Tree a -> Tree acommonmark Commonmark.Blocks No documentation available.
-
contiguous Data.Primitive.Contiguous Reverse the elements of a mutable array, in-place.
-
contiguous Data.Primitive.Contiguous Reverse the elements of a slice of a mutable array, in-place.
reverses :: Dims -> Array a -> Array aharpie Harpie.Array Reverses element order along specified dimensions.
>>> pretty $ reverses [0,1] a [[[20,21,22,23], [16,17,18,19], [12,13,14,15]], [[8,9,10,11], [4,5,6,7], [0,1,2,3]]]