| Safe Haskell | Safe | 
|---|---|
| Language | Haskell2010 | 
GHC.Stack.Plus
Description
Helper functions for dealing with call stacks and source locations.
- callerLocation :: HasCallStack => String
 - callerFile :: HasCallStack => String
 - callerLine :: HasCallStack => Int
 - adjustSourceFilePath :: FilePath -> FilePath
 
Documentation
callerLocation :: HasCallStack => String Source #
callerFile :: HasCallStack => String Source #
The filename of the first caller which called a function with implicit
 parameter (callStack :: .CallStack)
callerLine :: HasCallStack => Int Source #
The line number of the first caller which called a function with
 implicit parameter (callStack :: .CallStack)