Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
1-indexed row and column positions in a file.
Instances
Eq Position # | |
Ord Position # | |
Defined in Distribution.Parsec.Position | |
Show Position # | |
Generic Position # | |
Binary Position # | |
NFData Position # | |
Defined in Distribution.Parsec.Position | |
type Rep Position # | |
Defined in Distribution.Parsec.Position type Rep Position = D1 ('MetaData "Position" "Distribution.Parsec.Position" "Cabal-3.2.0.0" 'False) (C1 ('MetaCons "Position" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int))) |
positionCol :: Position -> Int Source #
Since: Cabal-3.0.0.0
positionRow :: Position -> Int Source #
Since: Cabal-3.0.0.0