| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
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 #
empty :: ExploreFuncs term c m -> ExploreStrategy -> 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 #
data ExploreFuncs term c m Source #
data ExploreStrategy Source #