pandoc-emphasize-code-0.2.3: A Pandoc filter for emphasizing code in fenced blocks

Safe HaskellNone
LanguageHaskell98

Text.Pandoc.Filter.EmphasizeCode.Position

Description

A position that cannot be constructed with incorrect bounds.

Documentation

newtype Line Source #

Constructors

Line Word 

Instances

Enum Line Source # 

Methods

succ :: Line -> Line #

pred :: Line -> Line #

toEnum :: Int -> Line #

fromEnum :: Line -> Int #

enumFrom :: Line -> [Line] #

enumFromThen :: Line -> Line -> [Line] #

enumFromTo :: Line -> Line -> [Line] #

enumFromThenTo :: Line -> Line -> Line -> [Line] #

Eq Line Source # 

Methods

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

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

Integral Line Source # 

Methods

quot :: Line -> Line -> Line #

rem :: Line -> Line -> Line #

div :: Line -> Line -> Line #

mod :: Line -> Line -> Line #

quotRem :: Line -> Line -> (Line, Line) #

divMod :: Line -> Line -> (Line, Line) #

toInteger :: Line -> Integer #

Num Line Source # 

Methods

(+) :: Line -> Line -> Line #

(-) :: Line -> Line -> Line #

(*) :: Line -> Line -> Line #

negate :: Line -> Line #

abs :: Line -> Line #

signum :: Line -> Line #

fromInteger :: Integer -> Line #

Ord Line Source # 

Methods

compare :: Line -> Line -> Ordering #

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

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

(>) :: Line -> Line -> Bool #

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

max :: Line -> Line -> Line #

min :: Line -> Line -> Line #

Real Line Source # 

Methods

toRational :: Line -> Rational #

Show Line Source # 

Methods

showsPrec :: Int -> Line -> ShowS #

show :: Line -> String #

showList :: [Line] -> ShowS #

Hashable Line Source # 

Methods

hashWithSalt :: Int -> Line -> Int #

hash :: Line -> Int #

newtype Column Source #

Constructors

Column Word 

Instances

Enum Column Source # 
Eq Column Source # 

Methods

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

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

Integral Column Source # 
Num Column Source # 
Ord Column Source # 
Real Column Source # 
Show Column Source # 
Hashable Column Source # 

Methods

hashWithSalt :: Int -> Column -> Int #

hash :: Column -> Int #