SimEvent redesign
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- haskell
- Domain
- testing-qa
Research direction
Start by locating the definitions and usages of SimEvent, SimPOREvent, and SimRacesFound in the repository. Read how callers pattern-match on these constructors and determine the public shape that removes the need to handle the internal constructor. Done means the redesign is implemented without exposing SimRacesFound as a required caller case and existing behavior remains covered by the relevant tests.
Written by the indexing model from the issue text.
Description
SimEvent type has three constructors, SimEvent, SimPOREvent and SimRacesFound. SimRacesFound is only internal, and one shouldn't need to pattern-match on it when using io-sim. SimEvent should be redesigned so the compiler does not require pattern matching on SimRacesFound.
- Dominant language
- Haskell
- Stars
- 57
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IntersectMBO/io-sim
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
IntersectMBO/io-sim#271 · 3 comments ·
-
`timeout` under `mask_`: a cancelled assassin's exception is delivered after the framePossibly taken @coot claimed this 19 days ago. Openbug
IntersectMBO/io-sim#269 · 1 assignee ·
-
Implement a workaround for "Overwhelming the TimerManager"May be free again @coot claimed this 39 days ago, and no pull request is open. Openenhancement
IntersectMBO/io-sim#268 · 1 comment · 1 assignee ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
IntersectMBO/io-sim#258 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 55/100
IntersectMBO/io-sim#248 · 1 comment ·
All issues in IntersectMBO/io-sim
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
IntersectMBO/cardano-ledger#6276 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenZeppelin/canton-contracts#92 ·
Maintainers usually reply within 1 day