Request a CallStack.
NOTE: The implicit parameter ?callStack :: CallStack is an
implementation detail and should not be considered part of the
CallStack API, we may decide to change the implementation in the
future.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulecall-stack-0.4.0Haskell2010
Request a CallStack.
NOTE: The implicit parameter ?callStack :: CallStack is an
implementation detail and should not be considered part of the
CallStack API, we may decide to change the implementation in the
future.
A single location in the source code.
SrcLocsrcLocPackage :: [Char]srcLocModule :: [Char]srcLocFile :: [Char]srcLocStartLine :: IntsrcLocStartCol :: IntsrcLocEndLine :: IntsrcLocEndCol :: IntEq SrcLocDefined in ghc-internal-9.1003.0 · GHC.Internal.Stack.TypesShow SrcLocDefined in ghc-internal-9.1003.0 · GHC.Internal.ShowGeneric SrcLocDefined in ghc-internal-9.1003.0 · GHC.Internal.Genericstype Rep SrcLoc = D1 ('MetaData "SrcLoc"
"GHC.Internal.Stack.Types"
"ghc-internal"
'False) (C1 ('MetaCons "SrcLoc"
'PrefixI 'True) ((S1 ('MetaSel ('Just "srcLocPackage"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Char]) :*: (S1 ('MetaSel ('Just "srcLocModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Char]) :*: S1 ('MetaSel ('Just "srcLocFile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Char]))) :*: ((S1 ('MetaSel ('Just "srcLocStartLine"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "srcLocStartCol"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "srcLocEndLine"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "srcLocEndCol"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))))Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics