Skip to content

Fix haddock for threadDelay #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

nbacquey
Copy link
Contributor

Context

threadDelay calls Control.Concurrent.threadDelay, which takes an argument in microseconds, instead of milliseconds as the documentation specified. This commit fixes that typo.

How to trust this PR

Have a look at the documentation for Control.Concurrent.threadDelay, notice that the argument is treated as a number of microseconds.

Additionally, one can call H.threadDelay 10_000 and H.threadDelay 10_000_000, and notice that only the second call delays the thread for 10 seconds.

`threadDelay` calls `Control.Concurrent.threadDelay`, which takes an
argument in microseconds, instead of milliseconds as the documentation
specified. This commit fixes that typo.
@newhoggy newhoggy enabled auto-merge (rebase) April 23, 2025 14:19
@newhoggy newhoggy merged commit 13ee010 into input-output-hk:main Apr 23, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants