Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A common API for BNF-based grammars
Documentation
Grammar | |
|
data LabeledPattern Source #
Instances
Read LabeledPattern Source # | |
Defined in Hydra.Grammar readsPrec :: Int -> ReadS LabeledPattern # readList :: ReadS [LabeledPattern] # | |
Show LabeledPattern Source # | |
Defined in Hydra.Grammar showsPrec :: Int -> LabeledPattern -> ShowS # show :: LabeledPattern -> String # showList :: [LabeledPattern] -> ShowS # | |
Eq LabeledPattern Source # | |
Defined in Hydra.Grammar (==) :: LabeledPattern -> LabeledPattern -> Bool # (/=) :: LabeledPattern -> LabeledPattern -> Bool # | |
Ord LabeledPattern Source # | |
Defined in Hydra.Grammar compare :: LabeledPattern -> LabeledPattern -> Ordering # (<) :: LabeledPattern -> LabeledPattern -> Bool # (<=) :: LabeledPattern -> LabeledPattern -> Bool # (>) :: LabeledPattern -> LabeledPattern -> Bool # (>=) :: LabeledPattern -> LabeledPattern -> Bool # max :: LabeledPattern -> LabeledPattern -> LabeledPattern # min :: LabeledPattern -> LabeledPattern -> LabeledPattern # |
data Production Source #
Instances
Read Production Source # | |
Defined in Hydra.Grammar readsPrec :: Int -> ReadS Production # readList :: ReadS [Production] # readPrec :: ReadPrec Production # readListPrec :: ReadPrec [Production] # | |
Show Production Source # | |
Defined in Hydra.Grammar showsPrec :: Int -> Production -> ShowS # show :: Production -> String # showList :: [Production] -> ShowS # | |
Eq Production Source # | |
Defined in Hydra.Grammar (==) :: Production -> Production -> Bool # (/=) :: Production -> Production -> Bool # | |
Ord Production Source # | |
Defined in Hydra.Grammar compare :: Production -> Production -> Ordering # (<) :: Production -> Production -> Bool # (<=) :: Production -> Production -> Bool # (>) :: Production -> Production -> Bool # (>=) :: Production -> Production -> Bool # max :: Production -> Production -> Production # min :: Production -> Production -> Production # |
_Production :: Name Source #