Text.Gigaparsec.Expr.Subtype
type (<) sub sup = Subtype sub sup Source #
class Subtype sub sup where Source #
Methods
upcast :: sub -> sup Source #
downcast :: sup -> Maybe sub Source #
Defined in Text.Gigaparsec.Expr.Subtype
upcast :: a -> a Source #
downcast :: a -> Maybe a Source #