haskell / haskell/haskell-language-server

Encourage space-leak correct value storage

未關閉
#749 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。