Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
saveGlobalLogger :: Logger -> IO ()hslogger System.Log.Logger Updates the global record for the given logger to take into account any changes you may have made.
updateGlobalLogger :: String -> (Logger -> Logger) -> IO ()hslogger System.Log.Logger Helps you make changes on the given logger. Takes a function that makes changes and writes those changes back to the global database. Here's an example from above ("s" is a LogHandler):
updateGlobalLogger "MyApp.BuggyComponent" (setLevel DEBUG . setHandlers [s])
diagonalList :: Int -> a -> [a] -> Matrix amatrix Data.Matrix Diagonal matrix from a non-empty list given the desired size. Non-diagonal elements will be filled with the given default element. The list must have at least order elements.
diagonalList n 0 [1..] = n 1 ( 1 0 ... 0 0 ) 2 ( 0 2 ... 0 0 ) ( ... ) ( 0 0 ... n-1 0 ) n ( 0 0 ... 0 n )
matchRegexAll :: Regex -> String -> Maybe (String, String, String, [String])regex-compat Text.Regex Match a regular expression against a string, returning more information about the match.
wrapMatchAll :: Regex -> CString -> IO (Either WrapError [MatchArray])regex-posix Text.Regex.Posix.Wrap wrapMatchAll returns the offset and length of each capture. Unused captures have an offset of unusedRegOffset which is (-1) and length of 0.
type family
HttpBodyAllowed (allowsBody :: CanHaveBody) (providesBody :: CanHaveBody)req Network.HTTP.Req This type function allows any HTTP body if method says it CanHaveBody. When the method says it should have NoBody, the only body option to use is NoReqBody.
-
singletons-base Data.Foldable.Singletons No documentation available.
type family
GroupAllWith (a1 :: a ~> b) (a2 :: [a]) :: [NonEmpty a]singletons-base Data.List.NonEmpty.Singletons No documentation available.
type family
GroupAllWith1 (a1 :: a ~> b) (a2 :: NonEmpty a) :: NonEmpty NonEmpty asingletons-base Data.List.NonEmpty.Singletons No documentation available.
data
GroupAllWith1Sym0 (a1 :: TyFun a ~> b NonEmpty a ~> NonEmpty NonEmpty a)singletons-base Data.List.NonEmpty.Singletons No documentation available.