simple-topes-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

RSTT.Interpret

Synopsis

Documentation

Compiling rules

data Substs Source #

Constructors

Substs 

Fields

Instances

Instances details
Semigroup Substs Source # 
Instance details

Defined in RSTT.Interpret

matchTopes :: (MonadPlus f, MonadFail f) => Substs -> [Tope] -> [Tope] -> f (Substs, [Tope]) Source #

merge :: (MonadPlus f, Eq k, Eq v, Show k, Show v) => [(k, v)] -> [(k, v)] -> f [(k, v)] Source #

nubSort :: Ord a => [a] -> [a] Source #

substInTope :: [(Var, Point)] -> [(Var, Tope)] -> Tope -> Tope Source #

Converting syntax