haskell / haskell/stm

registerDelay not implemented on the non-threaded runtime

Open
#44 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
118
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Even if the non-threaded runtime doesn't provide tools to implement it as efficiently, it's still possible to implement registerDelay with correct semantics. That would be a lot more pleasant to work with than an exception at run time.

On a side note, that current behavior isn't even mentioned in the haddocks, which makes it even more surprising.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate registerDelay and the non-threaded runtime entry point, then read how the threaded runtime defines its semantics. Implement equivalent behavior without the current runtime exception, and update the Haddocks to describe the non-threaded behavior; done means the semantics are correct and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.