mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
📝 MonadAnalysis.
This commit is contained in:
parent
57eb8648ba
commit
59afa36269
@ -1,6 +1,9 @@
|
||||
{-# LANGUAGE FunctionalDependencies #-}
|
||||
module Control.Abstract.Analysis where
|
||||
|
||||
-- | A 'Monad' in which one can evaluate some specific term type to some specific value type.
|
||||
--
|
||||
-- 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
|
||||
evaluateTerm :: term
|
||||
-> m value
|
||||
|
Loading…
Reference in New Issue
Block a user