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.

  1. 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.

  2. 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])
    

  3. diagonalList :: Int -> a -> [a] -> Matrix a

    matrix 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 )
    

  4. 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.

  5. 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.

  6. 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.

  7. sAll :: forall a (t1 :: Type -> Type) (t2 :: a ~> Bool) (t3 :: t1 a) . SFoldable t1 => Sing t2 -> Sing t3 -> Sing (Apply (Apply (AllSym0 :: TyFun (a ~> Bool) (t1 a ~> Bool) -> Type) t2) t3)

    singletons-base Data.Foldable.Singletons

    No documentation available.

  8. type family GroupAllWith (a1 :: a ~> b) (a2 :: [a]) :: [NonEmpty a]

    singletons-base Data.List.NonEmpty.Singletons

    No documentation available.

  9. type family GroupAllWith1 (a1 :: a ~> b) (a2 :: NonEmpty a) :: NonEmpty NonEmpty a

    singletons-base Data.List.NonEmpty.Singletons

    No documentation available.

  10. data GroupAllWith1Sym0 (a1 :: TyFun a ~> b NonEmpty a ~> NonEmpty NonEmpty a)

    singletons-base Data.List.NonEmpty.Singletons

    No documentation available.

Page 471 of many | Previous | Next