IntersectMBO / IntersectMBO/ouroboros-consensus

Workaround impossible/error alternatives for HPC report

Open
#565 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

PR input-output-hk/ouroboros-network#3920 added an HPC report. We realized that impossible case alternatives are inflating the amount of red in the report.

This issue is to consider how to mitigate that. We expect there will be some prior art within the Haskell community. EG Section 6.4 of the [HPC paper](https://ku-fpg.github.io/files/Gill-07-Hpc.pdf) by Gill and Runciman discusses impossible cases (we haven't read it yet; it might just be a lamentation).

Our other initial idea was to somehow introduce an impossible case combinator, so that all of the red of the HPC report is consolidated in its dedicated module.

This Issue is to start in on this investigation, perhaps decomposing this Issue into more concrete ones as we make decisions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.