haskell / haskell/haskell-language-server

Encourage space-leak correct value storage

オープン
#749 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
component: ghcide performance type: enhancement
主要言語
Haskell
スター
3k
フォーク
455
平均マージ
2日 19時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。