mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +03:00
Use ConfigurationFor to tidy up Tracing.
This commit is contained in:
parent
2467e5f41c
commit
1c00a35d3c
@ -28,7 +28,7 @@ evaluateTrace :: forall trace value term
|
|||||||
, Ord term
|
, Ord term
|
||||||
, Ord value
|
, Ord value
|
||||||
, Recursive term
|
, Recursive term
|
||||||
, Reducer (Configuration (LocationFor value) term value) trace
|
, Reducer (ConfigurationFor term value) trace
|
||||||
, MonadAddressable (LocationFor value) value (TracingAnalysis trace term value (TracingEffects trace term value))
|
, MonadAddressable (LocationFor value) value (TracingAnalysis trace term value (TracingEffects trace term value))
|
||||||
, MonadValue term value (TracingAnalysis trace term value (TracingEffects trace term value))
|
, MonadValue term value (TracingAnalysis trace term value (TracingEffects trace term value))
|
||||||
, Semigroup (Cell (LocationFor value) value)
|
, Semigroup (Cell (LocationFor value) value)
|
||||||
@ -52,7 +52,7 @@ instance ( Corecursive term
|
|||||||
, MonadAddressable (LocationFor value) value (TracingAnalysis trace term value effects)
|
, MonadAddressable (LocationFor value) value (TracingAnalysis trace term value effects)
|
||||||
, MonadValue term value (TracingAnalysis trace term value effects)
|
, MonadValue term value (TracingAnalysis trace term value effects)
|
||||||
, Recursive term
|
, Recursive term
|
||||||
, Reducer (Configuration (LocationFor value) term value) trace
|
, Reducer (ConfigurationFor term value) trace
|
||||||
, Semigroup (Cell (LocationFor value) value)
|
, Semigroup (Cell (LocationFor value) value)
|
||||||
)
|
)
|
||||||
=> MonadAnalysis term value (TracingAnalysis trace term value effects) where
|
=> MonadAnalysis term value (TracingAnalysis trace term value effects) where
|
||||||
|
Loading…
Reference in New Issue
Block a user