haskell / haskell/haskell-language-server
Encourage space-leak correct value storage
Offen
component: ghcide
performance
type: enhancement
- Vorherrschende Sprache
- Haskell
- Sterne
- 3k
- Forks
- 455
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 11
Beschreibung
We've had a bunch of variables which ended up storing thunks - see haskell/ghcide#772 for merely the latest example. We should:
* Introduce safe wrappers around modifyVar_ and modifyMVar_ named modifyVar_' and modifyMVar_', which do an evaluate before storing.
* Switch all our code to using these wrappers.
* Use HLint to ban the lazy variants.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.