haskell / haskell/haskell-language-server
Encourage space-leak correct value storage
Abierto
component: ghcide
performance
type: enhancement
- Lenguaje dominante
- Haskell
- Estrellas
- 3k
- Forks
- 455
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 11
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.