mirror of
https://github.com/github/semantic.git
synced 2024-12-26 16:33:03 +03:00
📝 analyzeTerm.
This commit is contained in:
parent
e0e1dc2e67
commit
76c69dce45
@ -7,6 +7,7 @@ import Prologue
|
|||||||
--
|
--
|
||||||
-- This typeclass is left intentionally unconstrained to avoid circular dependencies between it and other typeclasses.
|
-- 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
|
class Monad m => MonadAnalysis term value m | m -> term, m -> value where
|
||||||
|
-- | Analyze a term using the semantics of the current analysis. This should generally only be called by definitions of 'evaluateTerm' and 'analyzeTerm' in this or other instances.
|
||||||
analyzeTerm :: SubtermAlgebra (Base term) term (m value)
|
analyzeTerm :: SubtermAlgebra (Base term) term (m value)
|
||||||
|
|
||||||
-- | Evaluate a term to a value using the semantics of the current analysis.
|
-- | Evaluate a term to a value using the semantics of the current analysis.
|
||||||
|
Loading…
Reference in New Issue
Block a user