mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Clarify the docs for evalTrace and evalReach.
This commit is contained in:
parent
116cc96627
commit
7000e5ab60
@ -38,7 +38,7 @@ type TraceInterpreter t v = TracingInterpreter t v []
|
||||
type ReachableStateInterpreter t v = TracingInterpreter t v Set
|
||||
|
||||
|
||||
-- | Tracing state analyses
|
||||
-- | Linear trace analysis.
|
||||
evalTrace :: forall v term
|
||||
. ( Ord v, Ord term, Ord (Cell (LocationFor v) v)
|
||||
, Functor (Base term)
|
||||
@ -51,7 +51,7 @@ evalTrace :: forall v term
|
||||
=> term -> Final (TracingInterpreter term v []) v
|
||||
evalTrace = run @(TraceInterpreter term v) . fix (evTell @[] (\ recur yield -> eval recur yield . project)) pure
|
||||
|
||||
-- | Reach state analyses
|
||||
-- | Reachable configuration analysis.
|
||||
evalReach :: forall v term
|
||||
. ( Ord v, Ord term, Ord (LocationFor v), Ord (Cell (LocationFor v) v)
|
||||
, Functor (Base term)
|
||||
|
Loading…
Reference in New Issue
Block a user