haskell / haskell/haskell-language-server
Encourage space-leak correct value storage
未關閉
component: ghcide
performance
type: enhancement
- 主要語言
- Haskell
- 星號
- 3k
- 分支
- 455
- 平均合併
- 2 天 19 小時
- 30 天內合併 PR
- 11
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。