util-plus-0.1.0.0: A collection of commonly used utils

Safe HaskellSafe
LanguageHaskell2010

GHC.Stack.Plus

Description

Helper functions for dealing with call stacks and source locations.

Synopsis

Documentation

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