ghc-stack-profiler-core-0.2.0.0: src/GHC/Stack/Profiler/Core/SourceLocation.hs
module GHC.Stack.Profiler.Core.SourceLocation where
import Data.Text (Text)
import Data.Word (Word32)
import GHC.Generics (Generic)
-- | A Haskell source location.
data SourceLocation = MkSourceLocation
{ line :: !Word32
, column :: !Word32
, functionName :: !Text
, fileName :: !Text
}
deriving (Eq, Ord, Show, Generic)