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

Safe HaskellNone
LanguageHaskell2010

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 # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

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 # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Methods

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

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

Integral Line Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

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 # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

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 # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

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 # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Methods

toRational :: Line -> Rational #

Show Line Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Methods

showsPrec :: Int -> Line -> ShowS #

show :: Line -> String #

showList :: [Line] -> ShowS #

Hashable Line Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Methods

hashWithSalt :: Int -> Line -> Int

hash :: Line -> Int

newtype Column Source #

Constructors

Column Word 
Instances
Enum Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Eq Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Methods

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

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

Integral Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Num Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Ord Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Real Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Show Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Hashable Column Source # 
Instance details

Defined in Text.Pandoc.Filter.EmphasizeCode.Position

Methods

hashWithSalt :: Int -> Column -> Int

hash :: Column -> Int