expand-0.0.1: Extensible Pandoc

Safe HaskellNone

Utils

Synopsis

Documentation

someExcept :: [Char] -> PreProductions TL env StringSource

Recognizes one or more characters except from the given list

manyExcept :: [Char] -> PreProductions TL env StringSource

Recognizes zero or more characters except from the given list

someOf :: [Char] -> PreProductions TL env StringSource

Recognizes one or more characters from the given list

manyOf :: [Char] -> PreProductions TL env StringSource

Recognizes zero or more characters from the given list

alternate :: PreProductions l env a -> PreProductions l env a -> PreProductions l env [a]Source

Recognizes alternating occurences of p1 and p2, starting with p1

shorten :: Show a => Int -> a -> [Char]Source

newtype PreProductionsTrafo l env a b Source

Constructors

PPT 

Fields

unppt :: PreProductions l env a -> PreProductions l env b
 

Instances

Idiomatic l env b g => Idiomatic l env a (PreProductionsTrafo l env a b -> g) 

class Shortcuts l env a a' a'' b x | x -> l env a a' a'' b whereSource

Methods

(?) :: x -> PreProductionsTrafo l env a bSource

(+) :: x -> PreProductionsTrafo l env a' bSource

(*) :: x -> PreProductionsTrafo l env a'' bSource

Instances

Shortcuts TL env a a a a [Char] 
Shortcuts TL env (Maybe a -> b) ([a] -> b) ([a] -> b) b (Symbol a t env) 

data Ign a Source

Constructors

Ign a 

Instances

Idiomatic l env f g => Idiomatic l env f (Ign String -> g) 
Idiomatic l env f g => Idiomatic l env f (Ign (Symbol a TNonT env) -> g) 
Idiomatic l env f g => Idiomatic l env f (Ign (PreProductions l env a) -> g) 

ign :: a -> Ign aSource

class Error e Source