pire-0.2.5

Copyright(c) Andreas Reuleaux 2015-2018
LicenseBSD2
MaintainerAndreas Reuleaux <rx@a-rx.info>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe
LanguageHaskell2010

OldPos

Description

line column info, built upon Trifecta Delta's

Documentation

data Pos Source #

Constructors

Pos Int64 Int64 
Instances
Eq Pos Source #
>>> Pos 1 2 == Pos 1 2
True
>>> Pos 1 2 == Pos 1 3
False
Instance details

Defined in OldPos

Methods

(==) :: Pos -> Pos -> Bool #

(/=) :: Pos -> Pos -> Bool #

Ord Pos Source #
>>> compare (Pos 1 2) (Pos 1 2)
EQ
>>> compare (Pos 1 2) (Pos 1 3)
LT
>>> compare (Pos 1 4) (Pos 1 3)
GT
Instance details

Defined in OldPos

Methods

compare :: Pos -> Pos -> Ordering #

(<) :: Pos -> Pos -> Bool #

(<=) :: Pos -> Pos -> Bool #

(>) :: Pos -> Pos -> Bool #

(>=) :: Pos -> Pos -> Bool #

max :: Pos -> Pos -> Pos #

min :: Pos -> Pos -> Pos #

Show Pos Source # 
Instance details

Defined in OldPos

Methods

showsPrec :: Int -> Pos -> ShowS #

show :: Pos -> String #

showList :: [Pos] -> ShowS #

newtype Ord' Source #

Constructors

Ord' 

Fields

Instances
Eq Ord' Source # 
Instance details

Defined in OldPos

Methods

(==) :: Ord' -> Ord' -> Bool #

(/=) :: Ord' -> Ord' -> Bool #

Ord Ord' Source # 
Instance details

Defined in OldPos

Methods

compare :: Ord' -> Ord' -> Ordering #

(<) :: Ord' -> Ord' -> Bool #

(<=) :: Ord' -> Ord' -> Bool #

(>) :: Ord' -> Ord' -> Bool #

(>=) :: Ord' -> Ord' -> Bool #

max :: Ord' -> Ord' -> Ord' #

min :: Ord' -> Ord' -> Ord' #