Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
findFirstFile :: (FilePath -> IO Bool) -> FilePath -> IO FilePathsandwich-contexts Test.Sandwich.Contexts.Files Find the first file under the given directory (recursively) which matches the predicate. Note that the callback receives the full relative path to the file from the root dir. Throws using expectationFailure when the file is not found.
findFirstFileInDirs :: (FilePath -> IO Bool) -> [FilePath] -> IO FilePathsandwich-contexts Test.Sandwich.Contexts.Files Find the first file under the given directory (recursively) which matches the predicate. Note that the callback receives the full relative path to the file from the root dir. Throws using expectationFailure when the file is not found.
removeFirst :: SInteger -> SList Integer -> SList Integersbv Documentation.SBV.Examples.KnuckleDragger.InsertionSort Remove the first occurrence of an number from a list, if any.
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.