HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulelanguage-c-0.10.2Haskell2010

Language.C.Data.Position

Source code position

Synopsis
  • Packagelanguage-c-0.10.2
  • Exports20
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourcePosition.hs
datadata Position

uniform representation of source file positions

Instances7Eq, Data, Ord, Show, Generic, NFData, …
valueposColumn :: Position -> Int

column in the preprocessed file. Inaccurate w.r.t. to the original file in the presence of preprocessor macros.

classclass Pos a where

class of type which aggregate a source code location

Methods

Instances48Pos, …