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. currentCallStack :: IO [String]

    ghc-internal GHC.Internal.Stack

    Returns a [String] representing the current call stack. This can be useful for debugging. The implementation uses the call-stack simulation maintained by the profiler, so it only works if the program was compiled with -prof and contains suitable SCC annotations (e.g. by using -fprof-auto). Otherwise, the list returned is likely to be empty or uninformative.

  2. emptyCallStack :: CallStack

    ghc-internal GHC.Internal.Stack

    The empty CallStack.

  3. freezeCallStack :: CallStack -> CallStack

    ghc-internal GHC.Internal.Stack

    Freeze a call-stack, preventing any further call-sites from being appended.

    pushCallStack callSite (freezeCallStack callStack) = freezeCallStack callStack
    

  4. fromCallSiteList :: [([Char], SrcLoc)] -> CallStack

    ghc-internal GHC.Internal.Stack

    Convert a list of call-sites to a CallStack.

  5. getCallStack :: CallStack -> [([Char], SrcLoc)]

    ghc-internal GHC.Internal.Stack

    Extract a list of call-sites from the CallStack. The list is ordered by most recent call.

  6. popCallStack :: CallStack -> CallStack

    ghc-internal GHC.Internal.Stack

    Pop the most recent call-site off the CallStack. This function, like pushCallStack, has no effect on a frozen CallStack.

  7. prettyCallStack :: CallStack -> String

    ghc-internal GHC.Internal.Stack

    Pretty print a CallStack.

  8. prettyCallStackLines :: CallStack -> [String]

    ghc-internal GHC.Internal.Stack

    No documentation available.

  9. pushCallStack :: ([Char], SrcLoc) -> CallStack -> CallStack

    ghc-internal GHC.Internal.Stack

    Push a call-site onto the stack. This function has no effect on a frozen CallStack.

  10. withFrozenCallStack :: HasCallStack => (HasCallStack => a) -> a

    ghc-internal GHC.Internal.Stack

    Perform some computation without adding new entries to the CallStack.

Page 501 of many | Previous | Next