haskell / haskell/statistics

`exceptions`-based exceptions

Abierto
#141 13 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Haskell
Estrellas
309
Forks
76
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Rather than Nothing/0/NaN etc. (the first option being way better than the others), it would be great to generalize code that may throw to the MonadThrow class from `exceptions`.

This way, functions using `throwM (e :: Exception)` would have the signature `MonadThrow m => ... -> m ( ... )`, where `m` may become `Maybe`, or `Either e`, or even `IO`, according to the calling context.

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.