Hoogle Search
Within LTS Haskell 24.5 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
reverse :: forall (m :: Type -> Type) a . Monad m => Stream m a -> Stream m astreamly-core Streamly.Data.Stream Returns the elements of the stream in reverse order. The stream must be finite. Note that this necessarily buffers the entire stream in memory. Definition:
>>> reverse m = Stream.concatEffect $ Stream.fold Fold.toListRev m >>= return . Stream.fromList
reverse :: forall (m :: Type -> Type) a . StreamK m a -> StreamK m astreamly-core Streamly.Data.StreamK No documentation available.
reverse :: (MonadIO m, Unbox a) => MutArray a -> m ()streamly-core Streamly.Internal.Data.MutArray You may not need to reverse an array because you can consume it in reverse using readerRev. To reverse large arrays you can read in reverse and write to another array. However, in-place reverse can be useful to take adavantage of cache locality and when you do not want to allocate additional memory.
reverse :: forall (m :: Type -> Type) a . Monad m => Stream m a -> Stream m astreamly-core Streamly.Internal.Data.Stream Returns the elements of the stream in reverse order. The stream must be finite. Note that this necessarily buffers the entire stream in memory. Definition:
>>> reverse m = Stream.concatEffect $ Stream.fold Fold.toListRev m >>= return . Stream.fromList
reverse :: forall (m :: Type -> Type) a . StreamK m a -> StreamK m astreamly-core Streamly.Internal.Data.StreamK No documentation available.
reverse :: NonEmpty a -> NonEmpty aAgda Agda.Utils.List1 reverse a finite NonEmpty stream.
reverse :: Chunks a -> Chunks aarray-chunks Data.Chunks Reverse chunks but not the elements within each chunk.
>>> reverse [[42,17,94],[6,12],[3,14]] [[3,14],[6,12],[42,17,94]]
reverse :: Nat w => T w -> T wbattleship-combinatorics Combinatorics.Battleship.Count.Frontier No documentation available.
reverse :: BinList a -> BinList abinary-list Data.BinaryList O(n). Reverse a binary list.
reverse :: BQueue a -> BQueue abounded-queue Data.Queue.Bounded