W3cubDocs

/Haskell 7

GHC.SrcLoc

Safe Haskell Safe
Language Haskell2010

Contents

data SrcLoc Source

A single location in the source code.

Instances

srcLocPackage :: SrcLoc -> String Source

srcLocModule :: SrcLoc -> String Source

srcLocFile :: SrcLoc -> String Source

srcLocStartLine :: SrcLoc -> Int Source

srcLocStartCol :: SrcLoc -> Int Source

srcLocEndLine :: SrcLoc -> Int Source

srcLocEndCol :: SrcLoc -> Int Source

Pretty printing

showSrcLoc :: SrcLoc -> String Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/base-4.8.2.0/GHC-SrcLoc.html