haskell / haskell/haskell-language-server
Encourage space-leak correct value storage
Aperta
component: ghcide
performance
type: enhancement
- Lingua principale
- Haskell
- Stelle
- 3k
- Fork
- 455
- Merge medio
- 2g 19h
- PR unite (30g)
- 11
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.