haskell / haskell/array

Missing NFData instances for unboxed arrays

Abierto
#8 7 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Haskell
Estrellas
17
Forks
14
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

[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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.