haskell / haskell/haskell-language-server
Encourage space-leak correct value storage
Ouverte
component: ghcide
performance
type: enhancement
- Langage dominant
- Haskell
- Étoiles
- 3k
- Forks
- 455
- Merge moyen
- 2 j 19 h
- PR mergées (30 j)
- 11
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.