gigaparsec-0.3.0.0: Refreshed parsec-style library for compatibility with Scala parsley
Safe HaskellSafe
LanguageHaskell2010

Text.Gigaparsec.Expr.Subtype

Documentation

type (<) sub sup = Subtype sub sup Source #

class Subtype sub sup where Source #

Methods

upcast :: sub -> sup Source #

downcast :: sup -> Maybe sub Source #

Instances

Instances details
Subtype a a Source # 
Instance details

Defined in Text.Gigaparsec.Expr.Subtype

Methods

upcast :: a -> a Source #

downcast :: a -> Maybe a Source #