mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
📝 evaluateTerm.
This commit is contained in:
parent
ecbfd71a1c
commit
60be5d2f1a
@ -5,4 +5,5 @@ module Control.Abstract.Analysis where
|
||||
--
|
||||
-- This typeclass is left intentionally unconstrained to avoid circular dependencies between it and other typeclasses.
|
||||
class Monad m => MonadAnalysis term value m | m -> term, m -> value where
|
||||
-- | Evaluate a term to a value using the semantics of the current analysis. This should always be used instead of explicitly folding 'eval' over subterms, except in 'MonadAnalysis' instances themselves.
|
||||
evaluateTerm :: term -> m value
|
||||
|
Loading…
Reference in New Issue
Block a user