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 还没有评估数据。