Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
parseSR :: SRAlgs -> ByteString -> Bool -> ByteString -> Either String (Fix SRTree) Source #
Calls the corresponding parser for a given SRAlgs
showOutput :: Output -> Fix SRTree -> String Source #
Returns the corresponding function from Data.SRTree.Print for a given Output
.
Supported algorithms.
Instances
Bounded SRAlgs Source # | |
Enum SRAlgs Source # | |
Defined in Text.ParseSR succ :: SRAlgs -> SRAlgs Source # pred :: SRAlgs -> SRAlgs Source # toEnum :: Int -> SRAlgs Source # fromEnum :: SRAlgs -> Int Source # enumFrom :: SRAlgs -> [SRAlgs] Source # enumFromThen :: SRAlgs -> SRAlgs -> [SRAlgs] Source # enumFromTo :: SRAlgs -> SRAlgs -> [SRAlgs] Source # enumFromThenTo :: SRAlgs -> SRAlgs -> SRAlgs -> [SRAlgs] Source # | |
Read SRAlgs Source # | |
Show SRAlgs Source # | |
Supported outputs.
Instances
Bounded Output Source # | |
Enum Output Source # | |
Defined in Text.ParseSR succ :: Output -> Output Source # pred :: Output -> Output Source # toEnum :: Int -> Output Source # fromEnum :: Output -> Int Source # enumFrom :: Output -> [Output] Source # enumFromThen :: Output -> Output -> [Output] Source # enumFromTo :: Output -> Output -> [Output] Source # enumFromThenTo :: Output -> Output -> Output -> [Output] Source # | |
Read Output Source # | |
Show Output Source # | |