rest-rewrite-0.3.0: Rewriting library with online termination checking
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.REST.ExploredTerms

Description

This module implements the optimizations to prune the exploration of rewrites of terms that have been already considered (section 6.4 of the REST paper).

Documentation

data ExploredTerms term c m Source #

insert :: (Eq term, Hashable term) => term -> c -> HashSet term -> ExploredTerms term c m -> ExploredTerms term c m Source #

shouldExplore :: forall term c m. (Monad m, Eq term, Hashable term, Eq c, Show c, Hashable c) => term -> c -> ExploredTerms term c m -> m Bool Source #

size :: ExploredTerms term c m -> Int Source #

visited :: (Eq term, Hashable term) => term -> ExploredTerms term c m -> Bool Source #

data ExploreFuncs term c m Source #

Constructors

EF 

Fields