1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Realign a thing.

This commit is contained in:
Rob Rix 2018-03-23 20:39:09 -04:00
parent ca9476000b
commit 0b0bf455d4

View File

@ -111,7 +111,7 @@ evaluateModules (m:ms) = withModules ms (evaluateModule m)
-- | Lift a 'SubtermAlgebra' for an underlying analysis into a containing analysis. Use this when defining an analysis which can be composed onto other analyses to ensure that a call to 'analyzeTerm' occurs in the inner analysis and not the outer one.
liftAnalyze :: ( Coercible ( m term value effects value) (t m term value (effects :: [* -> *]) value)
, Coercible (t m term value effects value) ( m term value effects value)
, Coercible (t m term value effects value) ( m term value effects value)
)
=> ((base (Subterm term (outer value)) -> m term value effects value) -> (base (Subterm term (outer value)) -> m term value effects value))
-> ((base (Subterm term (outer value)) -> t m term value effects value) -> (base (Subterm term (outer value)) -> t m term value effects value))