haskell / haskell/array

Missing NFData instances for unboxed arrays

オープン
#8 コメント 7 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Haskell
スター
17
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

[NFData](https://hackage.haskell.org/package/deepseq-1.5.0.0/docs/Control-DeepSeq.html#g:1) instances for unboxed arrays (`UArray`, `STUArray`, `IOUArray`, `StorableArray`) are currently missing.

Ideally, they would be defined here, but we can't do that because `deepseq` (which defines `NFData`) depends on `array`.
However, `deepseq` has agreed to drop this dependency (see https://github.com/haskell/deepseq/issues/102), which makes this possible in the future.

For `array`, this would mean:

1. Wait for a new `deepseq` release which does not depend on `array`
2. Depend on `deepseq` and define the instances.

Does this sound ok to the maintainers here?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。