hydra-0.1.0: Type-aware transformations for data and functional programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Grammar

Description

A common API for BNF-based grammars

Documentation

newtype Constant Source #

Constructors

Constant 

Fields

Instances

Instances details
Read Constant Source # 
Instance details

Defined in Hydra.Grammar

Show Constant Source # 
Instance details

Defined in Hydra.Grammar

Eq Constant Source # 
Instance details

Defined in Hydra.Grammar

Ord Constant Source # 
Instance details

Defined in Hydra.Grammar

newtype Grammar Source #

Constructors

Grammar 

Fields

Instances

Instances details
Read Grammar Source # 
Instance details

Defined in Hydra.Grammar

Show Grammar Source # 
Instance details

Defined in Hydra.Grammar

Eq Grammar Source # 
Instance details

Defined in Hydra.Grammar

Methods

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

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

Ord Grammar Source # 
Instance details

Defined in Hydra.Grammar

newtype Label Source #

Constructors

Label 

Fields

Instances

Instances details
Read Label Source # 
Instance details

Defined in Hydra.Grammar

Show Label Source # 
Instance details

Defined in Hydra.Grammar

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

Eq Label Source # 
Instance details

Defined in Hydra.Grammar

Methods

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

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

Ord Label Source # 
Instance details

Defined in Hydra.Grammar

Methods

compare :: Label -> Label -> Ordering #

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

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

(>) :: Label -> Label -> Bool #

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

max :: Label -> Label -> Label #

min :: Label -> Label -> Label #

newtype Regex Source #

Constructors

Regex 

Fields

Instances

Instances details
Read Regex Source # 
Instance details

Defined in Hydra.Grammar

Show Regex Source # 
Instance details

Defined in Hydra.Grammar

Methods

showsPrec :: Int -> Regex -> ShowS #

show :: Regex -> String #

showList :: [Regex] -> ShowS #

Eq Regex Source # 
Instance details

Defined in Hydra.Grammar

Methods

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

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

Ord Regex Source # 
Instance details

Defined in Hydra.Grammar

Methods

compare :: Regex -> Regex -> Ordering #

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

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

(>) :: Regex -> Regex -> Bool #

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

max :: Regex -> Regex -> Regex #

min :: Regex -> Regex -> Regex #

newtype Symbol Source #

Constructors

Symbol 

Fields

Instances

Instances details
Read Symbol Source # 
Instance details

Defined in Hydra.Grammar

Show Symbol Source # 
Instance details

Defined in Hydra.Grammar

Eq Symbol Source # 
Instance details

Defined in Hydra.Grammar

Methods

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

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

Ord Symbol Source # 
Instance details

Defined in Hydra.Grammar