Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
rollingHashFirstN :: forall (m :: Type -> Type) a . (Monad m, Enum a) => Int -> Fold m a Int64streamly-core Streamly.Internal.Data.Fold Compute an Int sized polynomial rolling hash of the first n elements of a stream.
>>> rollingHashFirstN n = Fold.take n Fold.rollingHash
Pre-releaseAppendFirst :: s1 -> AppendState s1 s2streamly-core Streamly.Internal.Data.Stream No documentation available.
FoldManyFirst :: fs -> s -> FoldMany s fs b astreamly-core Streamly.Internal.Data.Stream No documentation available.
InterleaveFirst :: s1 -> s2 -> InterleaveState s1 s2streamly-core Streamly.Internal.Data.Stream No documentation available.
InterleaveFirstOnly :: s1 -> InterleaveState s1 s2streamly-core Streamly.Internal.Data.Stream No documentation available.
discardFirst :: forall (m :: Type -> Type) a b c . Unfold m a b -> Unfold m (c, a) bstreamly-core Streamly.Internal.Data.Unfold Convert an Unfold into an unfold accepting a tuple as an argument, using the argument of the original fold as the second element of tuple and discarding the first element of the tuple.
discardFirst = Unfold.lmap snd
Pre-releasegetFirst :: First a -> Maybe atesting-feat Test.Feat.Enumerate No documentation available.
loopFirst :: Pattern a -> Pattern atidal-core Sound.Tidal.UI Takes a pattern and loops only the first cycle of the pattern. For example, the following code will only play the bass drum sample:
d1 $ loopFirst $ s "<<bd*4 ht*8> cp*4>"
This function combines with sometimes to insert events from the first cycle randomly into subsequent cycles of the pattern:d1 $ sometimes loopFirst $ s "<<bd*4 ht*8> cp*4>"
_ltuFirst :: LocalToUTCResult -> UTCTimetz Data.Time.Zones No documentation available.
_ltuFirstZone :: LocalToUTCResult -> TimeZonetz Data.Time.Zones No documentation available.