File tree 1 file changed +3
-6
lines changed
ghcide/src/Development/IDE/Core
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,13 @@ instance ProgressReportingClass (ProgressReporting m) where
83
83
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84
84
The progress of tasks can be tracked in two ways:
85
85
86
- 1. `InProgressState `: This is an internal state that actively tracks the progress.
86
+ 1. `ProgressReporting `: we have an internal state that actively tracks the progress.
87
87
Changes to the progress are made directly to this state.
88
88
89
- 2. `InProgressStateOutSide `: This is an external state that tracks the progress.
89
+ 2. `ProgressReportingNoTrace `: there is an external state that tracks the progress.
90
90
The external state is converted into an STM Int for the purpose of reporting progress.
91
91
92
- The `inProgress` function is only useful when we are using `InProgressState`.
93
-
94
- An alternative design could involve using GADTs to eliminate this discrepancy between
95
- `InProgressState` and `InProgressStateOutSide`.
92
+ The `inProgress` function is only useful when we are using `ProgressReporting`.
96
93
-}
97
94
98
95
noProgressReportingNoTrace :: (MonadUnliftIO m ) => (ProgressReportingNoTrace m )
You can’t perform that action at this time.
0 commit comments