1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00

Sort the context.

This commit is contained in:
Rob Rix 2018-03-08 11:08:32 -05:00
parent 7982b8ddf4
commit ff6f99fbf5

View File

@ -38,10 +38,10 @@ liftAnalyze :: ( term ~ TermFor m
, term ~ TermFor (t m)
, value ~ ValueFor m
, value ~ ValueFor (t m)
, Coercible (m value) (t m value)
, Coercible (t m value) (m value)
, Functor (Base term)
, MonadAnalysis m
, Coercible (t m value) (m value)
, Coercible (m value) (t m value)
)
=> SubtermAlgebra (Base term) term (t m value)
liftAnalyze term = pack1 (analyzeTerm (second unpack1 <$> term))