Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Symparsec.Example.Expr
Description
Experiments.
Turns out we can't write recursive parsers. But Apply
can help us write
handier parsers.
Documentation
type family FromEither eaa where ... Source #
Equations
FromEither (Right a) = a | |
FromEither (Left a) = a |
data FromEitherSym eaa Source #
Instances
type App (FromEitherSym :: FunKind (Either a a) a -> Type) (eaa :: Either a a) Source # | |
Defined in Symparsec.Example.Expr |