Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
allocRet :: ByteArrayN n c => Proxy n -> (Ptr p -> IO a) -> IO (a, c)memory Data.ByteArray.Sized just like allocRet but with the size at the type level
allocateBuffer :: Int -> IO Bufferwarp Network.Wai.Handler.Warp.Internal Allocating a buffer with malloc().
allM :: Monad m => (a -> m Bool) -> [a] -> m Boolextra Control.Monad.Extra A version of all lifted to a monad. Retains the short-circuiting behaviour.
allM Just [True,False,undefined] == Just False allM Just [True,True ,undefined] == undefined \(f :: Int -> Maybe Bool) xs -> anyM f xs == orM (map f xs)
allM :: (Foldable f, Monad m) => (a -> m Bool) -> f a -> m Boolextra Data.Foldable.Extra A generalization of allM to Foldable instances. Retains the short-circuiting behaviour.
allSame :: Eq a => [a] -> Boolextra Data.List.Extra Are all elements the same.
allSame [1,1,2] == False allSame [1,1,1] == True allSame [1] == True allSame [] == True allSame (1:1:2:undefined) == False \xs -> allSame xs == (length (nub xs) <= 1)
allM :: Monad m => (a -> m Bool) -> [a] -> m Boolextra Extra A version of all lifted to a monad. Retains the short-circuiting behaviour.
allM Just [True,False,undefined] == Just False allM Just [True,True ,undefined] == undefined \(f :: Int -> Maybe Bool) xs -> anyM f xs == orM (map f xs)
allSame :: Eq a => [a] -> Boolextra Extra Are all elements the same.
allSame [1,1,2] == False allSame [1,1,1] == True allSame [1] == True allSame [] == True allSame (1:1:2:undefined) == False \xs -> allSame xs == (length (nub xs) <= 1)
allEqual :: Eq a => [a] -> Boolutility-ht Data.List.HT >>> allEqual "aab" False >>> allEqual "aaa" True >>> allEqual "aa" True >>> allEqual "a" True >>> allEqual "" True
allNewBuffersStrategy :: Int -> BufferAllocStrategyconduit-extra Data.Conduit.ByteString.Builder The simplest buffer allocation strategy: whenever a buffer is requested, allocate a new one that is big enough for the next build step to execute. NOTE that this allocation strategy may spill quite some memory upon direct insertion of a bytestring by the builder. Thats no problem for garbage collection, but it may lead to unreasonably high memory consumption in special circumstances.
allMime :: AllMime list => Proxy list -> [MediaType]servant Servant.API.ContentTypes No documentation available.